1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-09 18:06:35 +03:00
mal/impls/zig
Joel Martin a2973ab0b8 xslt, c, zig: test for, fix seq parsing EOF errors
xslt:
- The reader was returning the an odd args error when a hash-map literal
  was not closed. This was because the the parsing error happened and
  then the odd args test happened after and overwrote the parsing error.
- Also, fix the read-string function so that if an error is set by the
  reader, this is converted to a full error that bubbles up.

c:
- read_list errors were not being detected/propagated in read_hash_map
  after calling read_list.

zig:
- reader errors were not being caught in the rep loop until step 8, so
  those errors in step6 and step7 were causing the REPL to exit.
2024-08-22 14:59:33 -05:00
..
build.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
core.zig Change quasiquote algorithm 2020-08-11 01:01:56 +02:00
Dockerfile Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
env.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
error.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
hmap.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
linked_list.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
logging_alloc.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
Makefile Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
printer.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
reader.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
readline.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
run Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step0_repl.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step1_read_print.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step2_eval.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step3_env.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
step4_if_fn_do.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
step5_tco.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
step6_file.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
step7_quote.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
step8_macros.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
step9_try.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
stepA_mal.zig xslt, c, zig: test for, fix seq parsing EOF errors 2024-08-22 14:59:33 -05:00
types.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
utils.zig Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00