1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00
mal/skew
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 Add Skew implementation 2016-11-20 10:10:41 +00:00
core.sk forth, skew, tcl: Add number?, fn?, macro? 2017-10-14 12:21:33 +00:00
Dockerfile Add Skew implementation 2016-11-20 10:10:41 +00:00
env.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
reader.sk Error on unterminated strings. 2019-01-25 16:16:06 -06:00
run Add Skew implementation 2016-11-20 10:10:41 +00:00
step0_repl.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
step1_read_print.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
step2_eval.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
step3_env.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
step4_if_fn_do.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
step5_tco.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
step6_file.sk load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.sk load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.sk load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.sk load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.sk load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.sk Add Skew implementation 2016-11-20 10:10:41 +00:00
util.sk Add Skew implementation 2016-11-20 10:10:41 +00:00