Based on https://github.com/Rileran/tree-sitter-actionscript
yarn install
yarn build
Then you can parse a file using
yarn tree-sitter parse test.hexa
There is a corpus of test in the test directory.
To run the grammar against the corpus use:
yarn test
# OR, to build then test
yarn build-test