Skip to content

Latest commit

 

History

History

calc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

lelwel-calc

This project is a simple example for the lelwel parser generator.

The program reads an arithmetic expression from the command line and writes the result to stdout.

Example

$ cargo run '10 * (2+0.2)/2 + 32 - 1'
42