apfl/src
Laria Carolin Chabowski 42fe4f6b33 matcher: Fix relying on GC'ed milist in deinit function
When the GC calls the matchers deinit function, the milist (also an GC-able
object) might already have been deinitialized, so we can't use the count
values from there.

Maybe milist should actually be refcounted? It doesn't build cycles and
doesn't reference other GC objects. This would simplify it and remove the
now duplicated count data.
2022-08-12 14:42:49 +02:00
..
alloc.c Introduce allocator abstraction 2022-02-08 22:53:13 +01:00
alloc.h Move allocation macros from internal.h to alloc.h 2022-04-22 21:43:19 +02:00
apfl.h Implement matching assignments 2022-07-28 20:46:32 +02:00
bytecode.c bytecode: Add a function to dump bytecode 2022-07-28 20:49:29 +02:00
bytecode.h bytecode: Add a function to dump bytecode 2022-07-28 20:49:29 +02:00
compile.c compile: Move milist into compile_assignable_ilists 2022-08-04 22:25:04 +02:00
compile.h Implement mark&sweep garbage collection and bytecode compilation 2022-04-11 22:24:22 +02:00
context.c Make sure the currently loaded matcher is rooted 2022-08-04 22:23:21 +02:00
context.h Implement matching assignments 2022-07-28 20:46:32 +02:00
error.c Push some errors as const strings onto the stack 2022-04-24 16:13:39 +02:00
eval.c eval: Set returning_from_matcher while cse ist still valid 2022-08-06 12:53:24 +02:00
expr.c Ditch that weird internal.h header 2022-04-22 23:17:28 +02:00
format.c format: Don't try (and fail) to write an empty buffer 2022-07-14 21:51:41 +02:00
format.h Implement first global function "print" 2022-07-12 22:13:07 +02:00
gc.c Implement matching assignments 2022-07-28 20:46:32 +02:00
gc.h Implement matching assignments 2022-07-28 20:46:32 +02:00
globals.c bytecode: Add a function to dump bytecode 2022-07-28 20:49:29 +02:00
globals.h Implement first global function "print" 2022-07-12 22:13:07 +02:00
hashmap.c hashmap: Improve cursor / peek API 2022-04-11 23:31:20 +02:00
hashmap.h hashmap: Improve cursor / peek API 2022-04-11 23:31:20 +02:00
hashmap_test.c hashmap: Improve cursor / peek API 2022-04-11 23:31:20 +02:00
main.c main: Make eval the default mode 2022-07-15 21:57:35 +02:00
Makefile.am Implement matching assignments 2022-07-28 20:46:32 +02:00
matcher.c matcher: Fix relying on GC'ed milist in deinit function 2022-08-12 14:42:49 +02:00
matcher.h matcher: Fix relying on GC'ed milist in deinit function 2022-08-12 14:42:49 +02:00
messages.c Implement matching assignments 2022-07-28 20:46:32 +02:00
parser.c Move variable out of switch 2022-06-05 22:30:18 +02:00
parser_test.c Use formatter for expr printing 2022-04-22 22:52:53 +02:00
position.c Initial commit 2021-12-15 21:47:17 +01:00
resizable.c Implement mark&sweep garbage collection and bytecode compilation 2022-04-11 22:24:22 +02:00
resizable.h gc+context: Make stack no longer a gc object 2022-07-01 22:40:43 +02:00
resizable_test.c Introduce allocator abstraction 2022-02-08 22:53:13 +01:00
scope.c Implement functions and function calls 2022-07-11 21:41:05 +02:00
scope.h Implement functions and function calls 2022-07-11 21:41:05 +02:00
source_readers.c Redo source reader interface 2022-04-15 22:35:36 +02:00
strings.c Ditch that weird internal.h header 2022-04-22 23:17:28 +02:00
strings.h Ditch that weird internal.h header 2022-04-22 23:17:28 +02:00
test.h Introduce allocator abstraction 2022-02-08 22:53:13 +01:00
token.c Implement mark&sweep garbage collection and bytecode compilation 2022-04-11 22:24:22 +02:00
tokenizer.c Redo source reader interface 2022-04-15 22:35:36 +02:00
tokenizer_test.c Redo source reader interface 2022-04-15 22:35:36 +02:00
value.c Implement first global function "print" 2022-07-12 22:13:07 +02:00
value.h Implement first global function "print" 2022-07-12 22:13:07 +02:00