1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
mal/impls/c.2
Joel Martin 7b23c7ed61 c.2/cpp/dart/swift5: fix try/TCO double eval bug
The try block needs to happen and be returned and not continue the TCO
loop. If it does then the successful result of a try block gets
evaluated an extra time so something like this `(try* (list 1) (catch*
e (prn :e e)))` will cause an exception. If an exception occurs, then
the catch block of a try/catch can loop/TCO without issue but not the
initial try form/block.
2024-08-18 15:27:51 -05:00
..
libs renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
tests renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
core.c renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
core.h renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
Dockerfile c.2,make,perl6,ocaml,objpascal: update to ubuntu:24.04 2024-08-05 11:55:55 -05:00
env.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
env.h Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
Makefile tweaks for publication 2021-05-12 09:32:29 -05:00
printer.c renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
printer.h renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
reader.c renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
reader.h renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
run renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
step0_repl.c renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
step1_read_print.c renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
step2_eval.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step3_env.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step4_if_fn_do.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step5_tco.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step6_file.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step7_quote.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step8_macros.c Merge eval-ast and macro expansion into EVAL, add DEBUG-EVAL 2024-08-05 11:40:49 -05:00
step9_try.c c.2/cpp/dart/swift5: fix try/TCO double eval bug 2024-08-18 15:27:51 -05:00
stepA_mal.c c.2/cpp/dart/swift5: fix try/TCO double eval bug 2024-08-18 15:27:51 -05:00
types.c renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00
types.h renamed to c.2 and rebased onto latest master 2021-05-12 09:32:29 -05:00