tree-sitter parser for AL
This is a work in progress. The parser is not complete and may not work as expected. You can test it on your own AL files by running the parse command.
Clone the repository and install the dependencies with npm.
npm install
npm run build
The tests are incomplete and may not work as expected. Ignore them for now.
npm run test
npm run parse <path-to-al-file>
Send the debug flag to see the parsed tree. This is useful for debugging the parser. Please add the output to issues if you find any bugs. I might need the original AL file to debug the issue, but just the debug output is enough as a start.
tree-sitter parse <path-to-al-file> --debug
References