Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ASDL description of the Fluent syntax.
ASDL is a language for describing ASTs. It's a bit like structs and enums, but more concise and language-agnostic. It's different from (E)BNF in that it doens't describe the grammar—but rather the data structure that can be used by a compiler or an interpreter. References: "The Zephyr Abstract Syntax Description Language" ftp://ftp.cs.princeton.edu/techreports/1997/554.pdf "Design of CPython’s Compiler" https://docs.python.org/devguide/compiler.html Using ASDL to describe ASTs in compilers http://eli.thegreenplace.net/2014/06/04/using-asdl-to-describe-asts-in-compilers "What is Zephyr ASDL?" http://www.oilshell.org/blog/2016/12/11.html
- Loading branch information