Commit graph

111 commits

Author SHA1 Message Date
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 50c8e3c0e6 Centralise precedence values
Makes it easier to ensure correct precedence relative to the rest of the
grammar later on.
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
Bruno BELANYI 4b1d0f7744 Ignore nix-generated files 2022-06-01 16:23:17 +02:00
Bruno BELANYI 00f3013af0 Bootstrap nix flake environment 2022-06-01 16:23:17 +02:00