Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juliapluto/lezer-julia
Julia parser for Lezer
https://github.com/juliapluto/lezer-julia
Last synced: about 1 month ago
JSON representation
Julia parser for Lezer
- Host: GitHub
- URL: https://github.com/juliapluto/lezer-julia
- Owner: JuliaPluto
- License: mit
- Created: 2021-09-20T15:42:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T14:28:53.000Z (about 1 year ago)
- Last Synced: 2024-04-25T15:44:59.804Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 203 KB
- Stars: 0
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lezer-julia
This is a [Julia](https://julialang.org) grammar for the
[lezer](https://lezer.codemirror.net) parser system.The grammar was initially based on [tree-sitter-julia](https://github.com/tree-sitter/tree-sitter-julia).
The code is licensed under an MIT license.
## Contributing
To initialize your development environment:
```
yarn install
```
This will install dependencies and build the parser.To rebuild the parser after changing the grammar or the tokenizer:
```
yarn run prepare
```
If 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 test
```The same commands should also work fine with `npm` or `pnpm` instead of `yarn`.
The repository also includes a makefile for convenience.