|
ab06702e5e
|
operator-post-inc.go: new post int decrement operator '--'
|
2024-07-24 06:39:35 +02:00 |
|
|
ffe1fa3aac
|
op-assign expansion now end at ']' and '}' too
|
2024-07-24 06:37:57 +02:00 |
|
|
1a1a475dd8
|
Added support to op-assign operators like '+='.
This feature is implemented by expansion, not by dedicated operators, e.g. a*=2+x is exapanded as a=a*(2+x)
|
2024-07-23 15:35:57 +02:00 |
|
|
463e3634ba
|
scanner.go: New function UnreadToken().
Currently it only supports one staging level.
|
2024-07-23 15:32:25 +02:00 |
|
|
5f8ca47ef0
|
term.go: New function Clone()
|
2024-07-23 15:27:50 +02:00 |
|
|
837b887490
|
token.go: New functions Clone() and IsOneOfA()
|
2024-07-23 15:27:36 +02:00 |
|
|
c76e1d3c8e
|
symbol.go: New symbol '*='
|
2024-07-23 15:24:54 +02:00 |
|
|
315f5b22d3
|
data-cursor.go: the inizialization of the current item is done in the Next() method.
This allows the application of the filter and map operator to the first item too.
|
2024-07-23 05:46:37 +02:00 |
|
|
dfae593e86
|
operand-iterator.go: removed commented code
|
2024-07-21 16:35:13 +02:00 |
|
|
d572f3a129
|
Iterator: new function Count()
|
2024-07-21 16:34:52 +02:00 |
|
|
c461fd138e
|
Iterator defined by data-source now only requires one method: next()
|
2024-07-21 05:45:22 +02:00 |
|
|
6ecbe2feb1
|
Fixed type (expcted -> expected)
|
2024-07-21 05:43:55 +02:00 |
|
|
80d3c6ec7d
|
parser.go: Fixed an old bug that did not allow the parser to skip comment tokens
|
2024-07-21 05:37:34 +02:00 |
|
|
e09806c716
|
%q replaced by %s in some error messages
|
2024-07-21 05:33:06 +02:00 |
|
|
1a772597cb
|
removed/commented unused code
|
2024-07-19 17:03:03 +02:00 |
|
|
33b3e1fc29
|
New function for searching and importing plugin
|
2024-07-19 15:37:00 +02:00 |
|
|
4e3f5cfbc6
|
import-utils.go: Paths are now expanded with respect to env-vars and shell ~
|
2024-07-19 15:33:15 +02:00 |
|
|
e35d4e3f70
|
utils.go: added function ExpandPath
|
2024-07-19 15:30:26 +02:00 |
|
|
b4529499d6
|
iterator.go: exported some const identifier
|
2024-07-18 07:27:02 +02:00 |
|
|
7745dc24e2
|
dict-type.go: exported NewDataCursor
|
2024-07-18 07:25:51 +02:00 |
|
|
be25385d02
|
builtin-iterator: changed status variable from 'it_status' to 'status'
|
2024-07-15 06:59:13 +02:00 |
|
|
79889cd8e1
|
New builtin module 'iterator'
|
2024-07-14 16:53:32 +02:00 |
|
|
234759158c
|
scanner: disabled prefix operator '()'
|
2024-07-13 18:10:04 +02:00 |
|
|
00fda29606
|
operator-iter-value.go: prefix operator () used to get the current value of an iterator replaced by ^
|
2024-07-13 17:17:16 +02:00 |
|
|
2a2840bdf2
|
ListIterator now implements next and current command (e.g it.next)
|
2024-07-13 17:15:53 +02:00 |
|
|
06373f5126
|
Impemented Typer interface
|
2024-07-13 17:14:25 +02:00 |
|
|
e69dad5fb5
|
Rename priority label priCoalesce as priDefault
|
2024-07-13 17:13:16 +02:00 |
|
|
7459057df9
|
Expr embeds Typer and ast implements it
|
2024-07-13 17:11:39 +02:00 |
|
|
176969c956
|
New iterator tests
|
2024-07-13 16:19:04 +02:00 |
|
|
cde2efacf1
|
Test on iterator filter and map
|
2024-07-13 15:30:04 +02:00 |
|
|
d7a7b3218c
|
Merge branch 'main' into enhance_iterators
|
2024-07-13 09:08:16 +02:00 |
|
|
be3bb12f28
|
operator-unset.go: fixed function removal
|
2024-07-13 09:07:33 +02:00 |
|
|
032916d4fa
|
New operator unset to delete variables and functions from current context
|
2024-07-13 09:01:59 +02:00 |
|
|
f3cc0cc7ad
|
operator-include.go: Fixed inclusion of a list of files.
Now returns the value of the last evaluated expression.
|
2024-07-13 09:00:53 +02:00 |
|
|
905337f963
|
ExprContext: new functions VarCount(), DeleteVar(), FuncCount(), DeleteFunc()
|
2024-07-13 08:59:15 +02:00 |
|
|
9a95a837f6
|
data-cursor.go: add item mapping support
|
2024-07-13 06:44:00 +02:00 |
|
|
8547248ea2
|
data-cursor.go: fixed filter
|
2024-07-13 00:12:08 +02:00 |
|
|
a02f998fc6
|
t_iterator_test.go: Fixed test numbering and add a commentend test that is not yet fulfilled
|
2024-07-11 07:23:35 +02:00 |
|
|
e904003e6e
|
minor changes
|
2024-07-11 06:53:14 +02:00 |
|
|
990e04f957
|
operator-assign.go -- Fix: Assigning a functor to a collection's item didn't work
|
2024-07-11 06:49:02 +02:00 |
|
|
d8aed9dd7a
|
t_iterator_test.go: added a test to verify the reset command of the list iterator
|
2024-07-11 05:54:22 +02:00 |
|
|
a73d24b171
|
iter-list.go -> list-iterator.go
Fix: the reset command set the initial item to the second one in the list
|
2024-07-11 05:52:47 +02:00 |
|
|
3ebba83bce
|
term.go: replaced self receiver
|
2024-07-09 07:50:50 +02:00 |
|
|
6b3bfa2a11
|
self param replaced as opTerm
|
2024-07-09 07:50:06 +02:00 |
|
|
867806155e
|
scanner.go: replaced self receiver
|
2024-07-08 07:30:58 +02:00 |
|
|
a711333a2e
|
simple-store.go: commented out an unused function
|
2024-07-08 07:30:26 +02:00 |
|
|
af3e946bd4
|
operator-sum.go: replaced self receiver
|
2024-07-08 07:29:42 +02:00 |
|
|
22a36fa630
|
context.go renamed as expr-context.go
|
2024-07-07 16:20:29 +02:00 |
|
|
6d9a379c92
|
token.go: replaced self receiver
|
2024-07-07 16:19:58 +02:00 |
|
|
dd6404c786
|
t_scanner_test.go: replaced t.Log(fmtStringf()) with t.Logf()
|
2024-07-07 16:18:39 +02:00 |
|