|
cd6b7982ee
|
sum and prod now support fraction too
|
2024-05-01 21:51:43 +02:00 |
|
|
e00886b1ed
|
operator-fraction.go: many new functions supporting fraction operations
|
2024-05-01 21:49:15 +02:00 |
|
|
49904f9097
|
the new ListType type takes the of []any
|
2024-05-01 21:47:27 +02:00 |
|
|
2d0d03b975
|
utils.go: numAsFloat() now supports also fraction
|
2024-05-01 21:44:55 +02:00 |
|
|
8cb048edb0
|
common-type-names.go: typeFraction added
|
2024-05-01 21:43:42 +02:00 |
|
|
cb3d8827fa
|
operator-fraction.go -- new data-type and operator fraction
|
2024-05-01 09:48:09 +02:00 |
|
|
4c83764332
|
term.go: priFraction added
|
2024-05-01 09:47:28 +02:00 |
|
|
c0c2ab8b4e
|
func-bolerplate.bash: generate Go source for a new functions module
|
2024-05-01 07:13:52 +02:00 |
|
|
288e93d708
|
func-string.go: string utils module
|
2024-05-01 07:10:59 +02:00 |
|
|
92e862da19
|
common definitions collections
|
2024-05-01 07:10:11 +02:00 |
|
|
dc6975e56c
|
term.go: better error message in term.toInt()
|
2024-05-01 07:09:18 +02:00 |
|
|
6a2d3c53fd
|
func-common.go common-errors.go
|
2024-05-01 07:09:01 +02:00 |
|
|
5643a57bcc
|
utils.go: new function toInt() converts any(int64) to int
|
2024-05-01 07:07:36 +02:00 |
|
|
52fb398cd8
|
data-cursor.go: deep changes to better handle the data-source
|
2024-05-01 05:59:54 +02:00 |
|
|
cdbe3dfc22
|
commented tracing code
|
2024-05-01 05:57:08 +02:00 |
|
|
7aabd068ed
|
func-math.go: add() now supports general iterators. TODO: do the same thing to mul()
|
2024-05-01 05:55:37 +02:00 |
|
|
924f5da725
|
Clone functions now filter ref variables to avoid to pass them to child context
|
2024-05-01 05:53:56 +02:00 |
|
|
d657cbb51e
|
func-os.go: fixed the handling of err==io.EOF
|
2024-05-01 05:48:37 +02:00 |
|
|
be874503ec
|
iterator.go: new error function errInvalidDataSource()
|
2024-05-01 05:46:24 +02:00 |
|
|
056d42d328
|
utils.go: Copy and Clone maps with filter function. Also added isIterator().
|
2024-05-01 05:45:10 +02:00 |
|
|
aa66d07caa
|
Iterators now support generic operation interface based on methods HasOperation() and CallOperation().
Also fixed mul() function that called doAdd() instead of doMul().
|
2024-04-28 06:45:39 +02:00 |
|
|
fc0e1ffaee
|
New function isFunctor()
|
2024-04-28 06:43:57 +02:00 |
|
|
bf8f1a175f
|
modules are now represented by a struct that holds import-function, module description and importa status.
It is also available the new function IterateModules() to explore all modules.
|
2024-04-28 05:41:13 +02:00 |
|
|
6dd8283308
|
function-register.go module-register.go
|
2024-04-28 04:52:02 +02:00 |
|
|
06ab303b9e
|
accessing to the Reset() and Clean()functions of an iterator is now done by identifiers, i.e. reset, not by string, i.e. "reset".
|
2024-04-28 04:44:19 +02:00 |
|
|
2ccbdb2254
|
Fixed Clean() and added error message when calling optional missing functions
|
2024-04-28 04:41:43 +02:00 |
|
|
c5fca70cfc
|
operator-length.go: Fix: the returned value was int, instead of int64
|
2024-04-27 22:37:56 +02:00 |
|
|
895778f236
|
operator-dot.go: '*dataCursor' case added; to be enhanced
|
2024-04-27 22:34:23 +02:00 |
|
|
81c85afbea
|
operand-iterator.go: accepts two new optional functions 'reset' and 'clean' from data-source
|
2024-04-27 22:32:57 +02:00 |
|
|
354cb79580
|
data-cursor.go: added Reset() e Clean() functions
|
2024-04-27 22:31:14 +02:00 |
|
|
327bffa01f
|
symbol.go: typo
|
2024-04-27 22:30:18 +02:00 |
|
|
c99be491df
|
operator-dot.go: refactoring
|
2024-04-27 14:44:52 +02:00 |
|
|
60effe8f1b
|
new prefix operator 'include'
|
2024-04-27 09:48:45 +02:00 |
|
|
824b9382be
|
termo.go: changed the name of a variable
|
2024-04-27 09:48:05 +02:00 |
|
|
9ce6b7255b
|
corrected a comment
|
2024-04-27 09:47:24 +02:00 |
|
|
9dbf472630
|
helpers.go: two new functions: EvalStream() and EvalFile()
|
2024-04-27 09:46:03 +02:00 |
|
|
723976b37e
|
merged with datasource-context
|
2024-04-27 06:19:12 +02:00 |
|
|
361b84f31f
|
moved the exportVar() and exportFunc() functions from data-cursor.go to context-helpers.go
|
2024-04-27 06:16:11 +02:00 |
|
|
70892aa980
|
removed commented code
|
2024-04-27 06:14:09 +02:00 |
|
|
10eec286fa
|
new operator '111123' that returns the content of the current context or the context of an iterator
|
2024-04-27 06:12:30 +02:00 |
|
|
894b1884eb
|
temporary
|
2024-04-26 21:03:22 +02:00 |
|
|
d2bab5fd9e
|
context clone & export function moved from operand-func.go to context-helpers.go
|
2024-04-26 21:03:00 +02:00 |
|
|
f94f369547
|
context clone & export function moved from operand-func.go to context-helpers.go
|
2024-04-26 20:12:56 +02:00 |
|
|
107ec4958f
|
operator-length.go: the prefix operator '#' now accept iterator oeprand; it returns the index of the current item
|
2024-04-26 08:04:55 +02:00 |
|
|
a22047e84e
|
operand-func.go: removed commented code
|
2024-04-26 08:02:52 +02:00 |
|
|
80b7d5b988
|
operand-dict.go: removed commented code
|
2024-04-26 08:02:22 +02:00 |
|
|
2ab896bbac
|
the dataCursor struct has been moved fro operand-iterator.go to the new file data-cursor.go
|
2024-04-26 08:01:35 +02:00 |
|
|
62e16219f7
|
func-math.go/add: now supports the general iterator interface
|
2024-04-26 04:47:59 +02:00 |
|
|
750c660331
|
first working implementation of iterators and some fixes to the parser around lists analysis
|
2024-04-26 04:45:42 +02:00 |
|
|
7a88449cd1
|
updated some error messages; add some tests on the dict data-type; Use of reflect.DeepEqual() to compare the test results with the desired results.
|
2024-04-26 04:43:36 +02:00 |
|