1
1
mirror of https://github.com/kanaka/mal.git synced 2024-10-26 22:28:26 +03:00
mal/mal
Nicolas Boulenguez e6d41de4d5 load-file: accept empty file or final comment, return nil
Let `load-file` append a new line in case last line contains a
comment.

Also append `nil` so that the return value is predictible. Remove the
existing explicit `nil` from existing sources.

Adapt documentation and tests.
2019-07-28 13:08:05 +02:00
..
core.mal mal: implement macro? with contains? instead of list equality 2019-07-15 19:46:10 +02:00
Dockerfile mal: update Dockerfile to Ubuntu 18.04 and node 10 2018-11-28 21:33:35 -06:00
env.mal mal: improve MAL implementation. 2019-07-09 14:02:42 +02:00
Makefile Various small self-host mode fixes. 2019-05-29 21:18:52 -05:00
run Various small self-host mode fixes. 2019-05-29 21:18:52 -05:00
step0_repl.mal mal: improve MAL implementation. 2019-07-09 14:02:42 +02:00
step1_read_print.mal mal: improve MAL implementation. 2019-07-09 14:02:42 +02:00
step2_eval.mal mal: in step2, revert to reporting key error 2019-07-09 14:14:03 +02:00
step3_env.mal mal: improve MAL implementation. 2019-07-09 14:02:42 +02:00
step4_if_fn_do.mal mal: improve MAL implementation. 2019-07-09 14:02:42 +02:00
step6_file.mal load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.mal load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.mal load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.mal load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.mal load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00