unsure 0.3.0 copy "unsure: ^0.3.0" to clipboard
unsure: ^0.3.0 copied to clipboard

An easy to use probabilistic notation, and a package that can parse it and calculate with it.

0.3.0 #

  • Introduce variables: a formula can point to a previously parsed formula
  • Add %, K and M postfixes (for things like 20%, 20~30K, and so on)
  • BREAKING: you now have to instantiate a FormulaParser before parsing formulas. This is to allow the parser to recognize variables.
  • BREAKING: x and X no longer work for multiplication, to avoid confusion with variables (which are often named something like x)
  • Allow using unicode symbols for multiplication (×, ·) and division (÷)
  • Weed out dynamic from the code

0.2.0 #

  • Migrate to null safety

0.1.2 #

  • Allow installing unsure with pub global activate unsure
  • Fix crash if the CLI unsure tool is called without a formula

0.1.1 #

  • Loosened Dart SDK constraints
  • Wrote a better description for the package

0.1.0 #

  • Initial version
3
likes
140
points
62
downloads

Publisher

verified publisherfiliph.net

Weekly Downloads

An easy to use probabilistic notation, and a package that can parse it and calculate with it.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, petitparser, t_stats

More

Packages that depend on unsure