Skip to content

wizardwatch/solve_string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solve_string

Get notified about updates and join us at ‎‎ chat on Discord

About:

A python eval equivalent written in rust. This software is in ALPHA. Tons of edge cases will not work and some things like imaginary numbers have yet to be implemented.

Current support:

  • multiple operators written solved in pemdas.

  • operators supported:

    • subtraction - or ~
    • multiplication *
    • addition +
    • division /
    • exponent ^
  • currently there is not root operator, however you can use a exponent fraction in place of one.

  • double negatives

  • Parenthesis are supported*

Known issues:

  • *multiplication without a operator, ie 9(5 + 1), fails.
  • No unit tests
  • negative number edge cases: report and document these if you find them.
  • imaginary numbers.
  • precision greater than f32.

Feel free to open a issue or pull request, I am happy to work with you to get supported for any feature requests. The current plan is solve the issues in the order they are above.

About

A python eval equivilent written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages