Skip to content

Releases: denissimon/formula-parser

v2.7.2

14 Nov 07:44
Compare
Choose a tag to compare
Update History.md

v2.7.0

12 Sep 03:23
Compare
Choose a tag to compare
  • Optimized the algorithm
  • Fixed parsing variables, e.g. 3 * 6x => Syntax error
  • Updated: unit tests

v2.6.0

11 Jul 22:15
Compare
Choose a tag to compare
  • Refactored: code to PHP 7.3.5
  • Updated: composer.json
  • Updated: readme

v2.5.0

28 Dec 19:45
Compare
Choose a tag to compare
  • Improved the algorithm: it gets better with this release!
  • Added: ability to override default valid variables, which will allow to set variables not only with the names x, y, z, a, b.
  • Added: History.md
  • Updated: readme

v2.4.0

01 Feb 16:01
Compare
Choose a tag to compare
  • Improved: now several consecutive operators are available, e.g. 10/--++2
  • Improved: a decimal number can be given as 1. or .1 which is equal to 1.0 or 0.1
  • Added: constant Inf
  • Added: processing of NaN
  • Added: unit tests
  • Fixed: PHP message "Notice: Undefined offset" in some cases
  • Refactored: class properties and names of several methods
  • Refactored: short syntax to arrays
  • Updated: composer.json
  • Updated: PHPDoc
  • Updated: readme

v2.3.0

07 Aug 00:25
Compare
Choose a tag to compare
  • Added: variables x, y, z, a, b
  • Added: constant e
  • Added: functions log, exp
  • Added: namespace
  • Added: composer.json
  • Updated: PHPDoc
  • Updated: readme

v2.2.0

05 Jul 12:28
Compare
Choose a tag to compare
  • Added: functions sqrt, abs, sin, cos, tan
  • Refactored: class properties
  • Fixed: PHPDoc
  • Updated: readme

v2.1.0

03 Jul 12:14
Compare
Choose a tag to compare
  • Improved the algorithm: it gets better with this release!
  • Improved: now spaces are allowed, like so: 8 + ( 10 * ( 3 + 5 ) ) / 2
  • Added: numbers in E notation
  • Added: constant pi
  • Added: new validation rules