DeCarabas
  • Joined on 2022-10-29
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 »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-27 22:44:32 +00:00
49ad7fdb52 Associate metadata with terminals
76ef85483e Accept is single-valued, the multi-value thing didn't ever make sense
208491d56e This was out of date
Compare 3 commits »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-24 22:09:22 +00:00
2473ae713d Trivia tests
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-24 17:03:12 +00:00
7a5f17f74b Specify and honor trivia tokens
8e22c59aa8 This is a nicer number format (e.g. 1e3)
Compare 2 commits »
DeCarabas pushed to master at DeCarabas/lrparsers 2024-08-24 16:38:58 +00:00
f29ec5072f Augment number pattern, tests