1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
mal/impls/swift5/Sources
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
..
core test: check that a: is a valid symbol. 2024-08-05 11:54:37 -05:00
step0_repl Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step1_read_print Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step2_eval Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step3_env Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step4_if_fn_do Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step5_tco Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step6_file Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step7_quote Change quasiquote algorithm 2020-08-11 01:01:56 +02:00
step8_macros Change quasiquote algorithm 2020-08-11 01:01:56 +02:00
step9_try c.2/cpp/dart/swift5: fix try/TCO double eval bug 2024-08-18 15:27:51 -05:00
stepA_mal c.2/cpp/dart/swift5: fix try/TCO double eval bug 2024-08-18 15:27:51 -05:00