1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-09 18:06:35 +03:00
mal/miniMAL
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 Tests: move step5 non-TCO tests to per impl. 2016-03-14 23:39:21 -05:00
core.json make, miniMAL: add number?, fn? and macro? 2017-10-24 09:31:35 -05:00
Dockerfile Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
env.json miniMAL: add step4 (without functions). 2015-02-24 09:17:42 -06:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
miniMAL-core.json make, miniMAL: add number?, fn? and macro? 2017-10-24 09:31:35 -05:00
node_readline.js Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
package.json Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
printer.json miniMAL: add classOf and fix printing. 2015-02-25 23:01:16 -06:00
reader.json miniMAL: Detect more unterminated strings. 2019-05-19 12:00:28 +01:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.json miniMAL: update to using miniMAL 1.0.2 2017-02-10 23:02:30 -06:00
step1_read_print.json miniMAL: update to using miniMAL 1.0.2 2017-02-10 23:02:30 -06:00
step2_eval.json miniMAL: update to using miniMAL 1.0.2 2017-02-10 23:02:30 -06:00
step3_env.json miniMAL: update to using miniMAL 1.0.2 2017-02-10 23:02:30 -06:00
step4_if_fn_do.json Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.json Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.json load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.json load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.json load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.json load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.json load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.json Haxe, Julia, miniMAL: self-hosting fixes. 2016-02-05 13:27:30 -06:00