Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 379 Bytes

File metadata and controls

38 lines (24 loc) · 379 Bytes

Language

Expressions

Binary

*: Multiplication /: Division

+: Addition -: Subtraction

Unary

-: Negation +: Plus

Statements

Type ident [ = Expression ] ;
if Expression Block [ else if Block ] [ else Block ] ;

Blocks

{ [ Statement* ] }

Types

natural real

Testing

cargo test -- --nocapture for ast parsing display