initial implementation of switch expressions
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 29 Sep 2023 21:58:01 +0000 (16:58 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 29 Sep 2023 21:58:01 +0000 (16:58 -0500)
commit95186e20d544dda136ad0f21ac36324418bce5e2
treef53af69e920674d60989ac6b30cbd8cb03a8edf0
parenta6bebd23cee425311c42609a184e1be749970c76
initial implementation of switch expressions
18 files changed:
compiler/include/astnodes.h
compiler/src/astnodes.c
compiler/src/checker.c
compiler/src/parser.c
compiler/src/symres.c
compiler/src/wasm_emit.c
core/container/optional.onyx
core/container/result.onyx
core/encoding/hex.onyx
core/encoding/json/parser.onyx
core/io/stdio.onyx
core/net/net.onyx
core/onyx/cbindgen.onyx
core/runtime/info/helper.onyx
tests/aoc-2020/day20.onyx
tests/switch_expressions [new file with mode: 0644]
tests/switch_expressions.onyx [new file with mode: 0644]
tests/tagged_unions.onyx