Releases: FourteenBrush/MathExpressionParser
Releases · FourteenBrush/MathExpressionParser
MathExpressionParser 1.1.1
Changes:
- Update dependencies
- Remove no longer needed
@ApiStatus.Internal
onExecutionEnv.defaulted()
Full Changelog: v1.1.0...1.1.1
MathExpressionParser v1.1.0
✅ 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
- 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
✅ 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.
- 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 newpow(x, y)
function. - The
pi()
ande()
functions are removed and replaced by constantspi
ande
. Example usage:3 * e
. Any subsequent uses of those functions will now throw a SyntaxException with messagecannot solve an empty expression
becausee()
will be interpreted ase * ()
.
Planned changes:
- Syntax to dynamically insert variables.
- Support more numeric bases.
MathExpressionParser v1.0.1
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
First stable release