|
9451958218
|
utils_test.go: new test file
|
2024-05-18 07:06:06 +02:00 |
|
|
91fdc1926e
|
Doc: updated last change date and time
|
2024-05-17 15:48:17 +02:00 |
|
|
9a3abdf1b6
|
Doc: more details on the syntax of the selector and variable default operators
|
2024-05-17 15:46:56 +02:00 |
|
|
ac3e690f87
|
Doc: more details on the syntax of the dictionaries, variables and multi-expressions
|
2024-05-17 07:31:13 +02:00 |
|
|
f0a152a17a
|
Doc: more details on the syntax of the numbers, strings and boolean
|
2024-05-16 07:11:20 +02:00 |
|
|
ca89931ca9
|
Doc: more details on the syntax of the numbers
|
2024-05-15 22:06:26 +02:00 |
|
|
d2e8aed4f7
|
parser_test.go: test on divisopn by-zero
|
2024-05-15 22:05:49 +02:00 |
|
|
8138cd2a80
|
operand-func.go: commented the errors moved to common-errors..go
|
2024-05-15 22:04:38 +02:00 |
|
|
6786666cf4
|
funcs_test.go: added some tests
|
2024-05-15 22:03:41 +02:00 |
|
|
35e794701a
|
func-string.go: commented out the param count check
|
2024-05-15 22:03:03 +02:00 |
|
|
52ef134be6
|
func-base.go: commented out the param count check
|
2024-05-15 22:02:07 +02:00 |
|
|
624318d84e
|
common-errors.go: moved here some errors
|
2024-05-15 22:01:13 +02:00 |
|
|
aa1338cd51
|
Fixed special convertion case from decimal 'x.y()' to fraction
|
2024-05-15 06:45:40 +02:00 |
|
|
c9db4b84e3
|
funcs_test.go: added some tests
|
2024-05-14 05:41:53 +02:00 |
|
|
e7e9330b71
|
scanner: Fixed decimal number parser; it didn't save parenthesis around period part
|
2024-05-14 05:41:10 +02:00 |
|
|
8eb25bbc86
|
operand-const.go -> operand-literal.go
|
2024-05-14 04:59:55 +02:00 |
|
|
efc92d434b
|
the sum operation now supports dicts too
|
2024-05-14 04:56:24 +02:00 |
|
|
4151f3f5e2
|
literals of rational number, e.g. 1.2(3), are now supported and are evaluated as fractions
|
2024-05-14 04:55:16 +02:00 |
|
|
f028485caa
|
added functions to get the fenerating fraction of a decimal number
|
2024-05-13 14:24:37 +02:00 |
|
|
ab07405cda
|
common-errors.go: added errDivisionByZero()
|
2024-05-13 14:23:21 +02:00 |
|
|
47be0c66cf
|
Doc: some typo and better examples
|
2024-05-11 20:14:54 +02:00 |
|
|
50e7168214
|
Since now builtin functions are registared in a new global context. This reduces the effort to copy the whole set of builtin functions in the context of a function call; only the called function will be copied, if it is global.
|
2024-05-11 10:45:38 +02:00 |
|
|
0a9543543d
|
Remove the unused 'parent' param from the function newTerm().
|
2024-05-11 06:41:06 +02:00 |
|
|
775751c67b
|
Doc: string examples
|
2024-05-11 06:35:32 +02:00 |
|
|
4aaffd6c44
|
dict: implemented length of dict
|
2024-05-10 09:25:18 +02:00 |
|
|
924051fbcd
|
extended funcs and list tests
|
2024-05-10 09:18:32 +02:00 |
|
|
5a9b6525a2
|
new function isRational() that return true is the passed value is integere or fraction
|
2024-05-10 09:17:51 +02:00 |
|
|
8c66d90532
|
operator-length.go: fixed length of list
|
2024-05-10 09:16:31 +02:00 |
|
|
4aa0113c6a
|
new string test file
|
2024-05-10 07:33:59 +02:00 |
|
|
d035fa0d5e
|
operator-dot.go: fixed string index
|
2024-05-10 07:32:45 +02:00 |
|
|
cf73b5c98d
|
Doc: add link to dev-expr download page
|
2024-05-10 06:39:48 +02:00 |
|
|
8346e28340
|
Doc: fixed some typo and added some list details
|
2024-05-10 04:49:03 +02:00 |
|
|
9c2eca40d7
|
utils.go: added IsBool() and IsFract()
|
2024-05-10 04:48:13 +02:00 |
|
|
c3198e4c79
|
parser_test.go: did not show the correct section name
|
2024-05-10 04:47:34 +02:00 |
|
|
99e0190b9c
|
operator-dot.go: fixed the index range checking
|
2024-05-10 04:45:51 +02:00 |
|
|
d4f63a3837
|
funcs_test.go: fixed and extended
|
2024-05-10 04:44:08 +02:00 |
|
|
389d48b646
|
func-base.go: added functions to check data-type of a value
|
2024-05-10 04:43:14 +02:00 |
|
|
1f7b9131fc
|
The 'last' variable now also receives the value of the final expression
|
2024-05-10 04:41:26 +02:00 |
|
|
dce49fd2b7
|
Doc: fractions and dictionaries
|
2024-05-09 07:20:22 +02:00 |
|
|
8ee0bb5701
|
Some data-type check functions (e.g. IsInteger()) exported
|
2024-05-08 07:53:01 +02:00 |
|
|
b2b0bb04c5
|
formatter.go: number base options added
|
2024-05-08 07:51:38 +02:00 |
|
|
f3abf5e77c
|
Doc: dev-expr description updated
|
2024-05-08 07:51:01 +02:00 |
|
|
34b7799177
|
parser_test.go: test added (mixed number types)
|
2024-05-07 07:23:38 +02:00 |
|
|
8c3c54913a
|
Doc: dev-expr introduction
|
2024-05-07 07:22:32 +02:00 |
|
|
5910345c08
|
operator-{sum,prod}.go: Fixed sum and prod operation with a fraction and a float
|
2024-05-06 17:32:39 +02:00 |
|
|
8b4dad1381
|
utils.go: new function isNumOrFract(x); it returns true if x is a float, an integer, ora a fraction
|
2024-05-06 17:31:12 +02:00 |
|
|
6ef468408c
|
operator-sum.go: Fixed sum of fraction and float
|
2024-05-06 17:16:30 +02:00 |
|
|
3a30d890c6
|
operator-assign.go: improvements that allow to define function aliases (TODO: maybe *funcDefFunctor else-if section can be removed
|
2024-05-06 16:01:50 +02:00 |
|
|
71ab417a56
|
funcs_test.go: added many new tests
|
2024-05-06 15:32:44 +02:00 |
|
|
7cfb89c25c
|
parser_test.go: removed commented code
|
2024-05-06 15:32:00 +02:00 |
|