Go to file
Emmanuel Briot 0a52f6df01 various attempts to simplify grammar
Fixes handing of expression functions (for which the expression was
 identified as an aggregate)
Move conditional expressions out of 'aggregate', to conform with ARM and
 resolve the above amgiguity
Inline expression_list, which was resulting in a conflict with a
 record_component_association.
2022-12-07 18:32:50 +01:00
corpus various attempts to simplify grammar 2022-12-07 18:32:50 +01:00
.gitignore Additions to the grammar 2022-10-21 14:11:41 +02:00
grammar.js various attempts to simplify grammar 2022-12-07 18:32:50 +01:00
package-lock.json Initial revision 2022-10-21 09:08:32 +02:00
package.json Support for task types 2022-10-25 08:30:55 +02:00
README.md Minor changes to README, point to ada-mode grammar 2022-10-24 13:38:12 +02:00

Tree-Sitter parser for Ada

The grammar is adapted from the work done by Stephen Leak for the Emacs ada-mode. It was translated (partially for now) to tree-sitter syntax, and slightly changed to reduce some conflicts. Tree-sitter doesn't need a full syntax tree, so we can take some shortcuts in the grammar.

Installation

Execute the following commands:

   npm install
   npm run test