Skip to content

feat(lexers): add Garden lexer#1322

Merged
alecthomas merged 1 commit into
alecthomas:masterfrom
xnacly:feat/garden-lexer
Jul 14, 2026
Merged

feat(lexers): add Garden lexer#1322
alecthomas merged 1 commit into
alecthomas:masterfrom
xnacly:feat/garden-lexer

Conversation

@xnacly

@xnacly xnacly commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a Garden lexer based on the Purple Garden tree-sitter grammar:
https://github.com/xnacly/purple-garden/blob/master/tree-sitter/grammar.js

The lexer covers imports, declarations, extern functions, match expressions, calls, field access, array literals, record literals, record types, strings, numbers, booleans, casts, comments, doc comments, and built-in types.

Also updates the supported languages table in the README.

@alecthomas
alecthomas merged commit 9743440 into alecthomas:master Jul 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants