Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 338 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 338 Bytes

The calculator using Inkwell and Rust Peg

This is my first llvm project. 🎉

This project uses Rust Peg to parse, Inkwell to compile.

Using Failure, This project handle errors effectively.

You can run:

$ cargo run '5 * 4 + 20 * 4 - 50'
problem is 5 * 4 + 20 * 4 - 50
The answer is 50

Dependencies

  • llvm 7.0.x