1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00
mal/io
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 Runtest should fail on bad test data. Fix interop tests. 2019-01-28 10:27:41 -06:00
Dockerfile io: step0 2016-03-07 08:55:12 -05:00
Env.io io: step4 2016-03-07 08:58:28 -05:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
MalCore.io io, swift3, vb: Add number?, fn?, macro? 2017-10-17 05:55:04 +00:00
MalReader.io io, livescript: Detect more unterminated strings. 2019-05-17 23:22:56 +01:00
MalReadline.io io: step0 2016-03-07 08:55:12 -05:00
MalTypes.io io: Fix unneeded escaping of forward slash 2019-07-23 10:23:11 +03:00
run io: Add interop function io-eval 2016-06-12 21:40:08 -04:00
step0_repl.io io: Add wrapper to swallow startup message from Io interpreter 2016-05-13 10:20:31 -04:00
step1_read_print.io io: step4 2016-03-07 08:58:28 -05:00
step2_eval.io Fix empty list eval in step2 for most languages. 2016-04-02 18:40:49 -05:00
step3_env.io io: Fix exception on literal empty list 2016-03-30 09:02:13 -04:00
step4_if_fn_do.io Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.io Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.io load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.io load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.io load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.io load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.io load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00