Go to file
2022-10-24 14:48:54 +02:00
corpus support for discrete_range constraints 2022-10-24 14:48:54 +02:00
.gitignore Additions to the grammar 2022-10-21 14:11:41 +02:00
grammar.js support for discrete_range constraints 2022-10-24 14:48:54 +02:00
package-lock.json Initial revision 2022-10-21 09:08:32 +02:00
package.json Some more cases of expression functions 2022-10-21 22:00:02 +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