#parser #wag #grammar #gll

wagon-codegen

Generic code generation methods for the WAGon DSL that can be used for various purposes

1 stable release

1.0.0 Jun 6, 2024

#2159 in Parser implementations


Used in wagon-togll

Apache-2.0

150KB
3.5K SLoC

WAGon Codegen

Various methods that are generally useful for performing code generation when working with WAGon.


lib.rs:

Generally useful methods to convert a WAG to Rust code.

A WAG may be converted into code in any number of ways for any number of reasons. This crate intends to hold code that is generally useful, regardless of the purpose of the final generated code.

Dependencies

~8.5MB
~126K SLoC