expresso

Crates.ioexpresso
lib.rsexpresso
version0.2.5
sourcesrc
created_at2021-03-11 18:59:15.882872
updated_at2022-03-01 19:19:05.357927
descriptionA very basic expression parser, and runner. For educational use only.
homepagehttps://github.com/AndreasOM/expresso
repositoryhttps://github.com/AndreasOM/expresso
max_upload_size
id367392
size50,620
Andreas Neukoetter (AndreasOM)

documentation

README

expresso

Experimental/educational expression parser, and runner

Warning: Breaking API changes are expected until 1.0.0!

Note: Expresso is a word play on Espresso, and Expression

Supported

  • Whitespace

  • Operands

    • i32
    • f32 (Note: No leading or trailing dot! 0.34 and 12.0 work, .34 and 12. don't!)
  • Operators

    • +
    • *
    • -
    • /
  • Braces

    • (
    • )
  • Variables

  • Function Calls

  • Argument Lists

Expresso

There is a expresso binary included that can be used for quick checking/running of expressions.

Future

Other

Development will be done test driven.

Commit count: 40

cargo fmt