Skip to content

Commit f0138f0

Browse files
committed
Some restructuring of the CHANGES bullets, plus "what's next" section added.
1 parent e9907da commit f0138f0

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

CHANGES

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,46 @@ plusminus Change Log
1212

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

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

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

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

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

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

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

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

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

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

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

39-
- Added small documentation for ArithmeticParser().parse and
40-
ArithmeticParser().evaluate functions.
38+
- Updated documentation and examples in the BasicArithmeticParser class.
4139

42-
Thanks to TheOneMusic for his awesome contributions!
40+
Thanks to TheOneMusic for his awesome contributions to this release!
41+
42+
- PLANNED FOR 0.5.0
43+
44+
- Refactoring the parser classes to provide a
45+
parser for standard Python expressions using standard Python
46+
operators and builtins, and functions from the math module
47+
(may limit types to int and float). Will make this parser more
48+
of a safe drop-in replacement for "eval" without extra bells and
49+
whistles.
50+
51+
- Better definition of custom operators, to permit support for
52+
proper definition of precedence of operations.
53+
54+
- Update web demo to support selection of different parsers.
4355

4456

4557
0.3.0 -

0 commit comments

Comments
 (0)