camoroso
a8a5d6aaa6
Linked-List: constructor NewLinkedListA() accepts any type of int and float
2026-05-18 06:24:59 +02:00
camoroso
84b255a51b
new type LinkedList, preliminary implementation
2026-05-17 22:43:27 +02:00
camoroso
e6844ad1e8
alias operators: '<<' same as '<+', '>>' same as '+>'. Insert and append operation optimized with linked lists
2026-05-16 17:18:23 +02:00
camoroso
99c1adc434
copyright header updated to 2026
2026-05-06 09:27:42 +02:00
camoroso
4d910dd069
moved a subset of source file to the kern package
2026-04-27 19:43:37 +02: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
d91e7eb979
The list operator '<<' (append) and '>>' (prepend) have been replaced
...
with the new operators '<+' and '+>' respectively.
'<<' and '>>' are now used only for left and right binary shit
respectively. Further, their priority has been increased moving them to
a higher priority than that of the assignment operator.
2024-12-28 09:17:27 +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
896844e772
the common test framework now supports error, string and nil as value of the wantErr field
2024-07-06 16:43:13 +02:00
camoroso
ba9b9cb28f
a lot oh changes to the test framework and new test files t_builtin-fmt_test.go and t_plugin_test.go added
2024-06-25 10:59:03 +02:00
camoroso
d1b468f35b
t_list_test.go: new test cases added
2024-06-19 09:24:50 +02:00
camoroso
80d47879e9
t_list_test.go: removed commented code
2024-06-07 08:54:59 +02:00
camoroso
a7b6e6f8d2
t_list_test.go: some tests added
2024-06-05 05:50:37 +02:00
camoroso
457a656073
tests on collection's item assignments and some other changes
2024-06-05 05:09:13 +02:00
camoroso
d96123ab02
The assign operator '=' can now set items in ListType and DictType
2024-06-04 11:07:35 +02:00
camoroso
f66cd1fdb1
New test file for specific code section or data type
2024-06-01 16:31:50 +02:00
camoroso
3736214c5a
A lot of changes. Main ones are:
...
- fraction type renamed as FractionType and moved from operator-fraction.go to fraction-type.go
- ListType moved from operator-list.go to list-type.go
- all test file were renamed adding the "t_" prefix
- defined a test template in file t_temple_test.go
- new test file t_relational_test.go where relational tests are collected
- lists can now compared as set using operators <, <=, >, and >= (IMPORTANT: here = menas same content, not same list)
2024-05-28 07:26:05 +02:00