operator-parsing-to-ast

Description: How to do operator-precedence parsing directly to an AST
Status: Complete
Source: https://git.maandree.se/operator-parsing-to-ast
Latest release: None, this software is not intended to be used
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

Example code demonstrating how to do operator-precedence parsing directly to an abstract syntax tree (rather than to prefix or postfix like the shunting yard algorithm, which is better for you want to perform the operations immediately) with dynamic operator, precedence, and associativity definitions.