1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-19 17:47:53 +03:00
mal/chuck
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 Implement step 5 2016-05-14 19:37:14 +02:00
types elisp, chuck, pil, gst, scheme: Add number?, fn?, macro? 2017-10-10 18:29:36 +02:00
util Implement step 9 2016-08-06 00:34:18 +02:00
chuck.md Implement step 9 2016-08-06 00:34:18 +02:00
core.ck elisp, chuck, pil, gst, scheme: Add number?, fn?, macro? 2017-10-10 18:29:36 +02:00
Dockerfile Add Dockerfile fixes and change runner to bash 2016-08-09 19:25:33 +02:00
env.ck Implement step A 2016-08-06 21:25:56 +02:00
func.ck Implement step A 2016-08-06 21:25:56 +02:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
notes.md Fix a number of typos in documentation/comments. 2017-09-15 20:00:15 +02:00
printer.ck Implement step 4 2016-05-12 10:41:05 +02:00
reader.ck Implement step 9 2016-08-06 00:34:18 +02:00
readline.ck Support backspace in readline implementation 2016-08-08 21:36:05 +02:00
run Add Dockerfile fixes and change runner to bash 2016-08-09 19:25:33 +02:00
step0_repl.ck Add a self-made readline implementation 2016-08-06 17:47:13 +02:00
step1_read_print.ck Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step2_eval.ck Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step3_env.ck Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.ck Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.ck Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.ck load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.ck load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.ck load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.ck load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.ck load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00