Skip to content

Commit

Permalink
Some restructuring of the CHANGES bullets, plus "what's next" section…
Browse files Browse the repository at this point in the history
… added.
  • Loading branch information
ptmcg committed Aug 30, 2020
1 parent e9907da commit f0138f0
Showing 1 changed file with 29 additions and 17 deletions.
46 changes: 29 additions & 17 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,46 @@ plusminus Change Log

self.add_function("log", (1, 2), math.log)

- Added the log function above in the BasicArithmeticParser. If called
with one argument, base e is used. If called with two, the second
argument is used as the base.
- Updated operators and functions in ArithmeticParser:

- Removed the nhypot function. The hypot function now takes any number
of arguments.
- "−" can now be used as a unary minus operator, like "-".

- Added variable "tau" (same as "τ"), which is equal to 2×π.
- "//" operator for floor division added.

- Added variables "ϕ" and "phi" (same as "φ", the golden number).
- round function now accepts one or two arguments, instead of two only.

- Added documentation and examples in the BasicArithmeticParser class.
- Updated operators, functions and variables in BasicArithmeticParser:

- ArithmeticParser().__iter__() now raises NotImplementedError instead
of NotImplemented.
- Added the log function above in the BasicArithmeticParser. If called
with one argument, base e is used. If called with two, the second
argument is used as the base.

- gamma function now takes one parameter, instead of two.
- Removed the nhypot function. The hypot function now takes any number
of arguments.

- "−" can now be used as a unary minus operator, like "-".
- gamma function now takes one parameter, instead of two.

- "//" operator for floor division added.
- Added variable "tau" (same as "τ"), which is equal to 2×π.

- round function now accepts one or two arguments, instead of two only.
- Added variables "ϕ" and "phi" (same as "φ", the golden number).

- Added small documentation for ArithmeticParser().parse and
ArithmeticParser().evaluate functions.
- Updated documentation and examples in the BasicArithmeticParser class.

Thanks to TheOneMusic for his awesome contributions!
Thanks to TheOneMusic for his awesome contributions to this release!

- PLANNED FOR 0.5.0

- Refactoring the parser classes to provide a
parser for standard Python expressions using standard Python
operators and builtins, and functions from the math module
(may limit types to int and float). Will make this parser more
of a safe drop-in replacement for "eval" without extra bells and
whistles.

- Better definition of custom operators, to permit support for
proper definition of precedence of operations.

- Update web demo to support selection of different parsers.


0.3.0 -
Expand Down

0 comments on commit f0138f0

Please sign in to comment.