Commit graph

16 commits

Author SHA1 Message Date
Bruno BELANYI 3cf701dbb1 Add top-level declarations 2022-06-02 17:07:30 +02:00
Bruno BELANYI 1449aa939f Add let expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI d32fd4fd6c Add break expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI bb6875a11d Add for expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI 26999482a3 Add while expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI 19c1f11414 Add if expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI 93cd163707 Add assignment expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI 6a3e4663ed Add lvalue expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI 8921953bbb Add function calls 2022-06-02 17:07:30 +02:00
Bruno BELANYI 136924cb26 Add record expression 2022-06-02 17:07:30 +02:00
Bruno BELANYI babf666642 Add array expression 2022-06-02 17:07:30 +02:00
Bruno BELANYI 02f83784b1 Use explicit 'nil_literal' rule
Makes the dumped AST more readable, and will probably help in writing
future queries.
2022-06-02 17:07:30 +02:00
Bruno BELANYI 0bc7e59fc7 Disable keyword extraction
For now bare keywords are errors, since we have not included them as
valid expressions.
2022-06-02 17:07:30 +02:00
Bruno BELANYI 03fa0427cf Add arithmetic expressions 2022-06-02 17:07:30 +02:00
Bruno BELANYI e7ba93870e Add simple atoms 2022-06-01 22:19:04 +02:00
Bruno BELANYI 30b2e50367 Bootstrap tree-sitter parser architecture 2022-06-01 16:39:18 +02:00