DeCarabas
  • Joined on 2022-10-29
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-06 23:23:47 +00:00
00b4cd4702 Starting to look at pretty-printing with the idea of auto-indentation
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-06 18:51:50 +00:00
d7dfd556ec Emit an emacs major mode
4941cd049c Helper routines for generating source code
0243b0bf77 Refactor grammar to make "nicer" trees (I guess)
23981f82ce Start working on emacs mode generation
501c2e3fbe Teach the highlight meta about emacs face names
Compare 5 commits »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-05 22:13:06 +00:00
676ddedbaf Add the language name to the end of generated scopes
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-05 22:04:05 +00:00
dbf893e48b Generate queries a little better
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-05 21:52:52 +00:00
51c4f14c26 Emit highlight queries for tree-sitter
d466f5d173 Ignore the tree-sitter directory for tests
Compare 2 commits »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-05 18:52:59 +00:00
ea5fab4e4e Tree-sitter regexps are structured
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-05 13:32:41 +00:00
5e12af9f31 Extra marks, fields, whatnot
be8e017fd9 Fix regex generation, extras
94f5958087 Field propagation
Compare 3 commits »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-02 15:50:50 +00:00
591da0c971 Rework highlighting metadata GOD
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-01 18:31:13 +00:00
e4a8ad7b76 Trailing thing
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-01 14:38:52 +00:00
a99b3ecb70 Interpret precedence the way tree-sitter does, kinda
DeCarabas pushed to master at DeCarabas/lrparsers 2024-09-01 13:52:32 +00:00
0354fbf4a4 More ways of writing
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-31 14:23:47 +00:00
3012df4ac6 Precedence but it doesn't work
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-30 16:14:13 +00:00
98c4bb950f Fix bugs but still doesn't work for Fine
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-30 16:04:54 +00:00
066d2d8439 A converter from grammars to tree-sitter grammars
2d87207b54 Some small tweaks
80d932b36a Refactor to use non_terminals()
f8b62bf4a4 Terminal 'value' is 'name', compile_lexer is method
344dde51be Grammar start symbol is public
Compare 5 commits »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-29 15:01:00 +00:00
dc03bf7373 Grammars can be named
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-28 15:34:11 +00:00
abcb0e516a OptionalRule is not required but MetatdataRule is
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-28 15:29:40 +00:00
e07f2be3fa Something wrong with this, need to understand more
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-28 15:27:57 +00:00
02c1aa507e Muck around with usability
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-27 23:49:22 +00:00
cd62b65789 Remove the old hand-lexer
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-27 23:48:19 +00:00
d62076f3c4 Fix a bug in terminal declaration
d03dc6e3d9 Harness uses grammar-generated token stream
0be0075cfe Generic token stream
Compare 3 commits »