[][src]Crate lemon_tree

Famous Lemon Parser Generator, designed as library that builds your parser transparently during cargo build. To describe parser rules you add annotation attributes to rust functions, structs and enums.

You can find usage examples here

Traits

LemonTree

Parser "start symbol" can be represented as a struct or enum. You need to annotate it with #[derive(LemonTree)], and implementation of this trait will be generated.

LemonTreeNode

For nonterminal symbols, except start symbol.

Attribute Macros

lem_fn

Derive Macros

LemonTree
LemonTreeNode