]> Nishi Git Mirror - gwion.git/commit
:art: Add captures
authorJérémie Astor <fennecdjay@gmail.com>
Tue, 26 Apr 2022 20:08:42 +0000 (22:08 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Tue, 26 Apr 2022 20:08:42 +0000 (22:08 +0200)
commitf4497bf18e7650086f4150fcfd0ad4322364fc7f
treecae66b1155a298ebe894c83da8f6dc8492fe5151
parent373c33453cabc30190b731d39aa348390a40c17a
:art: Add captures
30 files changed:
ast
include/env/func.h
include/env/type.h
include/env/value.h
include/opcode.h
include/parse.h
include/vm.h
opcode.txt
plug
src/clean.c
src/emit/emit.c
src/env/func.c
src/lib/array.c
src/lib/deep_equal.c
src/lib/lib_func.c
src/lib/object_op.c
src/lib/ref.c
src/lib/string.c
src/main.c
src/parse/check.c
src/parse/partial.c
src/parse/scan0.c
src/parse/scan1.c
src/vm/closure.c
src/vm/vm.c
tests/captures/lambda_captures.gw [new file with mode: 0644]
tests/captures/not_upvalue.gw [new file with mode: 0644]
tests/captures/spork_capture.gw [new file with mode: 0644]
tests/error/not_global_inside_global_class.gw
tests/lambdas/partial_lambda.gw [new file with mode: 0644]