Skip to content

Repository files navigation

Toy calculator for my talk on compilers at Coderfaire 2013. Try it out.

The grammar is:

PrimaryExpr:
    Number
    Name
    ( Expr )

MulExpr :
    NegExpr
    NegExpr * NegExpr ...
    NegExpr / NegExpr ...

Expr :
    MulExpr
    MulExpr + MulExpr
    MulExpr - MulExpr

About

A toy parser for a talk about compilers

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages