Commit graph

4 commits

Author SHA1 Message Date
0384875ef3 values: Split lists into read-only lists and editable lists
This is analogous to dictionaries and ensures that no circular references
can be created when using the exported API in apfl.h.

This also changes apfl_value_copy into apfl_value_incref to better reflect
what it does and to reflect that it is no longer an operation that can
fail.
2022-01-04 23:11:38 +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
8b5d881ab9 Fix typos 2022-01-04 21:29:13 +01:00
d094ed7bd5 Initial commit 2021-12-15 21:47:17 +01:00