apfl/src/functional-tests
Laria Carolin Chabowski 20c2880f4c Implement assigning into dictionaries
It's now possible to assign to a key of a dictionary and even to a nested
key path.

This patch changes the way matchers work a bit:
First, a function call stack frame now has a stack of matchers that are
manipulateable instead of a single matcher.
Second, the matcher is now in charge of setting the matched values to the
variables (previously the caller of the matcher needed to extract the
matched values and assign them itself). This change simplifies code
generation, especially for chained assignments and dictionary key paths.

This removes the last usage of APFL_ERR_NOT_IMPLEMENTED :)
2022-11-19 23:26:52 +01:00
..
chained-assignments.at Add a test for chained assignments 2022-11-19 21:27:08 +01:00
deconstruct.at Add more functional tests 2022-10-30 23:07:53 +01:00
dictionary-assignments.at Implement assigning into dictionaries 2022-11-19 23:26:52 +01:00
eq.at Add test for == function 2022-11-08 22:03:05 +01:00
factorial.at Add more functional tests 2022-10-30 23:07:53 +01:00
function-const-capture.at Add more functional tests 2022-10-30 23:07:53 +01:00
function-mutable-capture.at Add more functional tests 2022-10-30 23:07:53 +01:00
hello-world.at Implement a simple test runner for functional tests 2022-10-30 22:51:51 +01:00
if.at Add test for if 2022-10-31 15:50:51 +01:00
len.at Implement global functions not, len and type 2022-10-31 15:29:01 +01:00
map.at Add more functional tests 2022-10-30 23:07:53 +01:00
mathops.at globals: Fix math operations returning argument list on single arg 2022-10-30 23:08:41 +01:00
not.at Implement global functions not, len and type 2022-10-31 15:29:01 +01:00
shadowing.at Implement assigning into dictionaries 2022-11-19 23:26:52 +01:00
type.at Implement global functions not, len and type 2022-10-31 15:29:01 +01:00
while.at Implement while 2022-11-08 22:03:05 +01:00