added functional equivalence. Added element, define, modulo, exponent, match, assign, append, swap, opposite, identity, not, unpack,

This commit is contained in:
gnembon committed 2025-02-19 12:30:42 +01:00
1 parent 234c176670
commit eb1ca9702c
5 files changed
+306 -111

No files matched your search

@@ -188,7 +188,7 @@ public class DataStructures
? ListValue.wrap(map.getMap().entrySet().stream().map(p -> ListValue.of(p.getKey(), p.getValue())))
: Value.NULL);
expression.addBinaryContextOperator(":", Operators.precedence.get("attribute~:"), true, true, false, (ctx, t, container, address) ->
expression.addBinaryContextOperator(":", "element", Operators.precedence.get("attribute~:"), true, true, false, (ctx, t, container, address) ->
{
if (container instanceof final LContainerValue lcv)
{