Skip to content

anharu2394/rust-llvm-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The calculator using Inkwell and Rust Peg

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages