1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-09 18:06:35 +03:00
mal/groovy
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.groovy Dart, Groovy, Haskell: add number?, fn? and macro? 2017-10-25 22:38:09 -05:00
Dockerfile Dist/packaging for most impls. erlang, racket *ARGV* fixes. 2016-02-24 00:45:40 -06:00
env.groovy Add groovy implementation. 2015-05-18 19:54:18 -07:00
GroovyWrapper.groovy Dist/packaging for most impls. erlang, racket *ARGV* fixes. 2016-02-24 00:45:40 -06:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.groovy Add groovy implementation. 2015-05-18 19:54:18 -07:00
reader.groovy groovy, java, kotlin: Detect more unterminated strings. 2019-05-17 23:14:29 +01:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.groovy Add groovy implementation. 2015-05-18 19:54:18 -07:00
step1_read_print.groovy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step2_eval.groovy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step3_env.groovy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.groovy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.groovy Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.groovy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.groovy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.groovy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.groovy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.groovy load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.groovy groovy, java, scala: add seq/string?. 2016-02-12 09:59:39 -06:00