1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-17 16:47:22 +03:00
mal/logo
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
..
examples Logo implementation 2016-06-17 16:36:09 -04:00
tests Runtest should fail on bad test data. Fix interop tests. 2019-01-28 10:27:41 -06:00
core.lg crystal, logo: Add number?, fn?, macro? 2017-10-15 12:17:53 +00:00
Dockerfile Logo implementation 2016-06-17 16:36:09 -04:00
env.lg Logo implementation 2016-06-17 16:36:09 -04:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.lg Logo implementation 2016-06-17 16:36:09 -04:00
reader.lg Error on unterminated strings. 2019-01-25 16:16:06 -06:00
readline.lg Logo implementation 2016-06-17 16:36:09 -04:00
run Logo implementation 2016-06-17 16:36:09 -04:00
step0_repl.lg Logo implementation 2016-06-17 16:36:09 -04:00
step1_read_print.lg Logo implementation 2016-06-17 16:36:09 -04:00
step2_eval.lg Logo implementation 2016-06-17 16:36:09 -04:00
step3_env.lg Logo implementation 2016-06-17 16:36:09 -04:00
step4_if_fn_do.lg Logo implementation 2016-06-17 16:36:09 -04:00
step5_tco.lg Logo implementation 2016-06-17 16:36:09 -04:00
step6_file.lg load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.lg load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.lg load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.lg load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.lg load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.lg Logo implementation 2016-06-17 16:36:09 -04:00