Skip to content

pasa/asdl-rs

Repository files navigation

Build Status

ASDL parser and CLI for code generation.

ASDL describes the abstract syntax of compiler intermediate representations and other tree-like data structures. Just as the lexical and syntactic structures of programming languages are described with regular expressions and context free grammars, ASDL provides a concise notation for describing the abstract syntax of programming languages. Tools can convert ASDL descriptions into the appropriate data-structure definitions and functions to convert the data-structures to or it easier to build compiler components that interoperate.

You can read about Asdl in this paper

Functionality is provided in two crates:

  • asdl - parser and api ready to use in code generation. Best suited for code generation with rust code. With quota for example.
  • asdl-tera model designed for template processing engines like tera and a CLI for code generation with tera template engine.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages