1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00
mal/hy
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
..
tests Hy: step5 2017-09-20 22:52:52 -05:00
core.hy hy: Fix number? 2017-10-23 17:16:00 +02:00
Dockerfile Hy: simplify main eval loop. Dockerfile cleanup. 2017-09-21 23:58:14 -05:00
env.hy Hy: step6 2017-09-20 23:27:30 -05:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
mal_types.hy Hy: stepA (except meta on collections) 2017-09-21 23:15:51 -05:00
printer.hy Hy: use dict instead of HyDict 2017-09-21 22:35:00 -05:00
reader.hy Various small self-host mode fixes. 2019-05-29 21:18:52 -05:00
run Hy: step0 2017-09-19 22:35:59 -05:00
step0_repl.hy Hy: sync indenting. Define entry with defmain. 2017-09-21 23:32:15 -05:00
step1_read_print.hy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step2_eval.hy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step3_env.hy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.hy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.hy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.hy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.hy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.hy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.hy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.hy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00