camoroso
8e596d5979
several changes:
...
1. moved scan/symbol.go to new package sym and adapted all files that reference Symbol type and its values.
2. new type interval defined by begin, end and step values.
3. replaced operator-range.go with operator-interval.go.
4. replaced range operator begin:end with begin..end..step.
5. new implementation of sub-collection extraction based on new interval literal.
2026-07-27 16:01:52 +02:00
camoroso
4df222496d
linked-list supports index assign and concatenation
2026-07-13 11:34:25 +02:00
camoroso
77f36642b4
The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
2026-07-12 07:35:28 +02:00
camoroso
b6da9bcad4
refactored data-types to reduce plugin sizes
2026-06-08 07:02:56 +02:00
camoroso
1bf8015da1
the assign operators, '=' and ':=', can set the value of dict items
2026-05-17 07:15:12 +02:00
camoroso
0c719025cd
new operator ':=', it assigns a value to a variable by deep copy
2026-05-17 05:02:07 +02:00
camoroso
99c1adc434
copyright header updated to 2026
2026-05-06 09:27:42 +02:00
camoroso
7f34ccf955
moved scanner sources to package 'scan'
2026-05-03 14:19:17 +02:00
camoroso
3b2ef7927b
new operator 'groupby'
2026-05-02 14:53:19 +02:00
camoroso
8787973de0
util files moved form kern to util package
2026-04-29 11:03:36 +02:00
camoroso
4d910dd069
moved a subset of source file to the kern package
2026-04-27 19:43:37 +02:00
camoroso
760c1ee6da
New bitwise XOR operator specified by symbol ^ (caret). Iterator dereference is now done by prefixed * (star)
2025-01-03 07:33:17 +01:00
camoroso
eccb0c4dc9
Added new special operators like &= and <<=.
...
Also made a litle change to scanner function moveOn(): now it moves on
the last char passed and only if there are more than one chars.
2024-12-29 19:26:02 +01:00
camoroso
8e5550bfa7
New operator %=
2024-12-19 15:14:30 +01:00
camoroso
6ee21e10af
New, more flexible, parser context datatype that includes and extends
...
the previous flags allowForest and allowVarRef.
Added binary operator (work in progress).
Better implementation of +=,-=,*=, and /= (new) operators.
2024-12-19 14:48:27 +01:00
camoroso
990e04f957
operator-assign.go -- Fix: Assigning a functor to a collection's item didn't work
2024-07-11 06:49:02 +02:00
camoroso
6b3bfa2a11
self param replaced as opTerm
2024-07-09 07:50:06 +02:00
camoroso
1757298eb4
formatter.go: typeName() renamed as TypeName()
2024-06-10 09:37:27 +02:00
camoroso
c100cf349d
some identier exported; new file import-utils.go
2024-06-06 05:31:35 +02:00
camoroso
847d85605e
removed unused commented code
2024-06-05 05:53:02 +02:00
camoroso
e4ded4f746
operator-assign.go: some errors message changed to report the Expr's type names, not the Go ones
2024-06-05 05:05:40 +02:00
camoroso
d96123ab02
The assign operator '=' can now set items in ListType and DictType
2024-06-04 11:07:35 +02:00
camoroso
9bba40f155
Expr's functions now support parameters with default value
2024-06-01 19:56:40 +02:00
camoroso
e5f63c3d9d
function definition and usage rationalized
2024-05-24 06:28:48 +02:00
camoroso
1ff5770264
New interface and implementation to model function parameters
2024-05-22 20:52:44 +02:00
camoroso
7c8dbb0ac7
Added virtual symbol SymVariable translated from general real SymIdentifier symbol
2024-05-20 06:05:24 +02:00
camoroso
4d43ab2c2f
context.go: setVar() renamed as UnsafeSetVar()
2024-05-19 01:27:44 +02:00
camoroso
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
camoroso
1d8569d3a9
the function call procedure now check the number of actual parameters against the numer of formal parameters
2024-05-04 22:35:03 +02:00
camoroso
761ec868e6
operator-assign.go: little refactor
2024-04-26 04:31:31 +02:00
camoroso
8f396a35de
ExprContext.SetVar() no longer requires the explicit specification of the type of number
2024-04-09 07:12:22 +02:00
camoroso
4d94a7ad59
class and kind types removed
2024-04-09 05:32:50 +02:00
camoroso
9ac88bf446
made some interfaces exportable and fixed/enhaaced some selector operator versions
2024-04-08 23:17:56 +02:00
camoroso
088e347c95
Changed SetValue() as SetVar() and GetValue() as GetVar()
2024-04-03 06:29:57 +02:00
camoroso
072dab4144
Expressions now support function definition
2024-04-02 04:36:03 +02:00
camoroso
d0572260c7
New operators 'but' and assignment ('=')
2024-03-30 08:09:41 +01:00