@@ -12,34 +12,46 @@ plusminus Change Log
12
12
13
13
self.add_function("log", (1, 2), math.log)
14
14
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:
18
16
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 "-".
21
18
22
- - Added variable "tau" (same as "τ"), which is equal to 2×π .
19
+ - "//" operator for floor division added .
23
20
24
- - Added variables "ϕ" and "phi" (same as "φ", the golden number) .
21
+ - round function now accepts one or two arguments, instead of two only .
25
22
26
- - Added documentation and examples in the BasicArithmeticParser class.
23
+ - Updated operators, functions and variables in BasicArithmeticParser:
27
24
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.
30
28
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.
32
31
33
- - "−" can now be used as a unary minus operator, like "-" .
32
+ - gamma function now takes one parameter, instead of two .
34
33
35
- - "//" operator for floor division added .
34
+ - Added variable "tau" (same as "τ"), which is equal to 2×π .
36
35
37
- - round function now accepts one or two arguments, instead of two only .
36
+ - Added variables "ϕ" and "phi" (same as "φ", the golden number) .
38
37
39
- - Added small documentation for ArithmeticParser().parse and
40
- ArithmeticParser().evaluate functions.
38
+ - Updated documentation and examples in the BasicArithmeticParser class.
41
39
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.
43
55
44
56
45
57
0.3.0 -
0 commit comments