Skip to content

Releases: FourteenBrush/MathExpressionParser

MathExpressionParser 1.1.1

20 Jun 17:03
Compare
Choose a tag to compare

Changes:

  • Update dependencies
  • Remove no longer needed @ApiStatus.Internal on ExecutionEnv.defaulted()

Full Changelog: v1.1.0...1.1.1

MathExpressionParser v1.1.0

20 Jun 16:31
Compare
Choose a tag to compare

✅ Features released:

  • Make all identifier names match the pattern [a-z_][a-zA-Z0-9_]*
  • Rollback making ^ xor, this is now back at its pow function, xor() got introduced
  • Add ExecutionEnv::insertIfAbsent and overloads
  • Add ExecutionEnv::removeSymbol

⚠️ Breaking changes:

  • Renaming of @Experimental functions

Planned changes:

  • Improve the design around doubles, not everything in math is a number, maybe add matrices or something?

Full Changelog: v1.0.2...v1.1.0

MathExpressionParser v1.0.2

26 Jun 16:12
Compare
Choose a tag to compare

✅ Features released:

  • Bitwise operators and (&), or (|) (together with their logical variants), left shift (<<), right shift (>>), xor (^, unary) and not (~, unary). Note that these will throw when non-integer values are used. More advanced bitwise comparisons like xnor can be done with their respective function.
  • Logical operators <, >, <=, >=, !=, ==, &&, || and ! (unary) which return 1 or 0 for respectively true or false.

⚠️ Breaking changes:

  • The ^ character was previously used to raise a value to a certain power, it is now used as a bitwise or (xor), this to keep the bitwise operators consistent. For power functionality, use the new pow(x, y) function.
  • The pi() and e() functions are removed and replaced by constants pi and e. Example usage: 3 * e. Any subsequent uses of those functions will now throw a SyntaxException with message cannot solve an empty expression because e() will be interpreted as e * ().

Planned changes:

  • Syntax to dynamically insert variables.
  • Support more numeric bases.

MathExpressionParser v1.0.1

10 Apr 09:29
Compare
Choose a tag to compare

This release refactors the codebase by placing it inside of modules, also eleminating unneeded files at runtime.
This does not change anything API related.

MathExpressionParser v1.0.0

03 Apr 10:21
Compare
Choose a tag to compare

First stable release