1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00
mal/crystal
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.cr Update Crystal implementation 2018-10-29 18:20:02 -05:00
Dockerfile Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
env.cr Update Crystal implementation 2018-10-29 18:20:02 -05:00
error.cr Update Crystal implementation 2018-10-29 18:20:02 -05:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.cr Update Crystal implementation 2018-10-29 18:20:02 -05:00
reader.cr cs, crystal, es6: Detect more unterminated strings. 2019-05-15 23:25:43 +01:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.cr Update Crystal implementation 2018-10-29 18:20:02 -05:00
step1_read_print.cr Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step2_eval.cr Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step3_env.cr Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.cr Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.cr Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.cr load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.cr load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.cr load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.cr load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.cr load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.cr Update Crystal implementation 2018-10-29 18:20:02 -05:00