apfl/src
Laria Carolin Chabowski 21efc85dba Convert to Lua-style stack API
Only for evaluating expressions for now and right now the only exposed
operation is to debug print a value on the stack, this obviously needs to
be expanded.

I've done this for two reasons:

1. A Lua-style stack API is much nicer to work with than to manually manage
   refcounts.
2. We'll soon need a more sophisticated garbage collector (if you even want
   to count the refcounting as garbage collection). For this, the GC will
   need root objects to start tracing for live objects, the stack will be
   one of these roots.
2022-01-20 22:45:09 +01:00
..
apfl.h Convert to Lua-style stack API 2022-01-20 22:45:09 +01:00
common.h Initial commit 2021-12-15 21:47:17 +01:00
error.c parser+expr: Handle blank identifier (_) 2022-01-08 23:20:29 +01:00
eval.c Convert to Lua-style stack API 2022-01-20 22:45:09 +01:00
expr.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
hashmap.c Fix copying hashmaps 2022-01-15 23:01:23 +01:00
hashmap.h Hashmap: Make copy callbacks return void 2022-01-05 21:54:37 +01:00
hashmap_foo.c Hashmap demo: Fix hashing string 2022-01-04 21:28:38 +01:00
internal.c Fix refcounted strings 2022-01-04 21:22:46 +01:00
internal.h values: Split lists into read-only lists and editable lists 2022-01-04 23:11:38 +01:00
main.c Convert to Lua-style stack API 2022-01-20 22:45:09 +01:00
Makefile.am resizable: Implement splicing 2022-01-20 21:33:04 +01:00
parser.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
parser_test.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
position.c Initial commit 2021-12-15 21:47:17 +01:00
resizable.c resizable: Implement splicing 2022-01-20 21:33:04 +01:00
resizable.h resizable: Implement splicing 2022-01-20 21:33:04 +01:00
resizable_test.c resizable: Implement splicing 2022-01-20 21:33:04 +01:00
source_readers.c Add apfl_string_source_reader 2021-12-16 22:49:41 +01:00
strings.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
test.h Fix some missing allocation checks / length checks 2022-01-15 21:51:40 +01:00
token.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
tokenizer.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
tokenizer_test.c parser/tokenizer: Save textual data as refcounted strings 2022-01-18 21:18:27 +01:00
value.c Convert to Lua-style stack API 2022-01-20 22:45:09 +01:00
value.h Convert to Lua-style stack API 2022-01-20 22:45:09 +01:00