Skip to content

About

Julia parser for Lezer

Resources

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

@plutojl/lezer-julia NPM version

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.

Demo site

See this parser in action on our demo page: https://juliapluto.github.io/lang-julia-demo/

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.

About

Julia parser for Lezer

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages