Skip to content

Showcase how to use nom to parse mathematical expressions

License

Notifications You must be signed in to change notification settings

jbethune/nom-equation-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nom-equation-parser

Showcase how to use nom to parse mathematical expressions

This project is part of the Rust Berlin Online Meetup.

Things to practise during the meetup:

  • fix the TODOs
  • fix the clippy lints

How to run the software:

cargo run -- "1 + 2"

or use more complex expressions:

cargo run -- "2 * 3 + 4 - (3 - 6 * 2) * (4 + 3)"

Unit tests can be run with cargo test.

About

Showcase how to use nom to parse mathematical expressions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published