abstract-syntax-tree 0.1.0

tools to create and work with abstract syntax trees
Documentation
use ast;

#[derive(Ast)]
#[phase(Parse)]
#[phase(Desugar)]
#[phase(Codegen)]
enum Expression {
    Add(Box<Self>, Box<Self>),
    Neg(Box<Self>),

    #[phase()]
    Sub(Box<Self>, Box<Self>),
}



fn main() {

}