cc79bab69f
resizable: Implement splicing
2022-01-20 21:33:04 +01:00
f3d0bbed17
Implement evaluating dictionary literals
...
We can now have dictionaries with keys and values of arbitrary types.
Very cool! :)
2022-01-04 21:51:44 +01:00
649607ce50
Start work on evaluating expressions
...
Right now we're only evaluating bool/nil/number/string/list literals, but
it's a start :).
2022-01-02 17:22:22 +01:00
92dc89d3ca
Move {=>apfl_}print_indented out of expr.c
...
We'll soon need it elsewhere.
2022-01-02 16:53:26 +01:00
3469623fee
Add first parser test cases
2021-12-16 23:42:37 +01:00
025fd61abd
Add apfl_string_source_reader
...
A useful source reader implementation to pass in a source saved as an
in-memory string into the tokenizer.
This replaces the string_src_reader in the tokenizer_test and is even a bit
more flexible, by allowing any aplf_string_view as the source.
2021-12-16 22:49:41 +01:00
c288c333ca
Continue work on parser
...
Seems that we can parse most things now :). Assignments don't work yet,
thoug. Also we're currently leaking memory pretty badly.
2021-12-15 21:47:17 +01:00
d094ed7bd5
Initial commit
2021-12-15 21:47:17 +01:00