camoroso
b6da9bcad4
refactored data-types to reduce plugin sizes
2026-06-08 07:02:56 +02:00
camoroso
a62f27b104
increased test coverage (83.9%)
2026-05-21 03:06:52 +02:00
camoroso
1055569dd6
Dict literal now accepts expressions as keys. Key values are computed at evalutetion time and still must be integer or string
2026-05-20 05:14:22 +02:00
camoroso
9efdeffcac
test with mixed field name and index
2026-05-17 19:14:35 +02:00
camoroso
d34b9d8a48
dict: implemented sub-field access, e.g D=["sub-dict"]["sub-field"]
2026-05-17 18:57:27 +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
610e2df5f5
operator-dot: added support to access dict value by exprssion; example: D.key, D."key", D.expr
2026-04-30 07:06:20 +02:00
camoroso
4d910dd069
moved a subset of source file to the kern package
2026-04-27 19:43:37 +02:00
camoroso
e09806c716
%q replaced by %s in some error messages
2024-07-21 05:33:06 +02:00
camoroso
b1d6b6de44
refactored dict's item access
2024-06-17 14:06:33 +02:00
camoroso
9fb611aa20
Formatter option is now composed of two data: flags (lower 16 bits) and indentation size (higher 16 bits).
...
DictType and ListType formatter use both indent and flag options.
Simple-store now makes a DictType from its data and its ToString() function returns dict.ToString()
2024-06-11 16:32:01 +02:00
camoroso
0d01afcc9f
member ctx removed from struct parser because it is unused
2024-06-07 09:03:42 +02:00
camoroso
a16ac70e4a
t_dict_test.go: some tests added
2024-06-05 05:49:07 +02:00
camoroso
457a656073
tests on collection's item assignments and some other changes
2024-06-05 05:09:13 +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