0.12.4 • Published 10 months ago
@plutojl/lezer-julia v0.12.4
lezer-julia
This is a Julia grammar for the lezer parser system.
The grammar was initially based on tree-sitter-julia.
The code is licensed under an MIT license.
Contributing
To initialize your development environment:
yarn installThis will install dependencies and build the parser.
To rebuild the parser after changing the grammar or the tokenizer:
yarn run prepareIf the build crashes with a GC related error, run export NODE_OPTIONS="--max-old-space-size=8192" and try again.
To test the parser:
yarn testThe same commands should also work fine with npm or pnpm instead of yarn.
The repository also includes a makefile for convenience.