1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-09 18:06:35 +03:00
mal/racket
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.rkt js, lua, perl, python, racket: Add number?, fn?, macro? 2017-10-11 10:28:04 +02:00
Dockerfile Travis: add lua and haskell. Add racket (disabled). 2015-10-06 12:48:22 -05:00
env.rkt Racket: add steps0-A. Self-hosting. 2015-01-09 16:16:55 -06:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.rkt Racket: add steps0-A. Self-hosting. 2015-01-09 16:16:55 -06:00
reader.rkt objpascal, powershell, racket: Detect more unterminated strings. 2019-05-16 22:06:32 +01:00
readline.rkt Tests: add testing Dockerfile. Impl fixes. 2015-03-11 22:22:35 -05:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.rkt All step0: add test, fix bugs, remove step0 eval. 2015-03-07 09:04:07 -06:00
step1_read_print.rkt Racket: add steps0-A. Self-hosting. 2015-01-09 16:16:55 -06:00
step2_eval.rkt Fix empty list eval in step2 for most languages. 2016-04-02 18:40:49 -05:00
step3_env.rkt racket: Fix exception on literal empty list 2016-03-27 22:33:20 -04:00
step4_if_fn_do.rkt racket: Fix exception on literal empty list 2016-03-27 22:33:20 -04:00
step5_tco.rkt racket: Fix exception on literal empty list 2016-03-27 22:33:20 -04:00
step6_file.rkt load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.rkt load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.rkt load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.rkt load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.rkt load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.rkt racket: add seq and string? 2016-02-15 14:27:47 -05:00