#ast #automatic #definition #generated #syntax #documentation #lwb

lwb-parser

parser framwork with automatically generated ASTs for the LWB project

8 releases

0.1.7 Jul 10, 2022
0.1.6 Jul 10, 2022

#860 in Programming languages

MIT license

355KB
5K SLoC

Github Workflows

LWB parser

A standalone version of the parser of rust-lwb. Rust-lwb is actually not released yet on its own (and may never be) but the parser is quite useful already

This is a project inspired by the TU Delft programming languages group's project called spoofax.

The parser will read a definition of your syntax, and generate an AST plus the code to fill the AST from strings for you.

You can find documentation for it here

License

Licensed under the MIT License

Dependencies

~8–12MB
~214K SLoC