1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-17 16:47:22 +03:00
mal/c
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.c c, rpython, vhdl: add number?, fn?, and macro? 2017-10-11 21:18:50 -04:00
core.h c, rpython, vhdl: add number?, fn?, and macro? 2017-10-11 21:18:50 -04:00
Dockerfile c: Add Boehm garbage collector 2016-04-08 09:24:21 -04:00
env.c c: Add Boehm garbage collector 2016-04-08 09:24:21 -04:00
interop.c C: fix compilation errors and warnings for the official toolchain of OSX. 2015-03-20 17:38:22 +08:00
interop.h Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00
Makefile C: improve build configurability (issue #397) 2019-06-23 20:40:55 +02:00
printer.c c: Add Boehm garbage collector 2016-04-08 09:24:21 -04:00
printer.h All: split types into types, env, printer, core. 2014-04-02 22:23:37 -05:00
reader.c c: Detect more unterminated strings. 2019-05-30 21:44:48 +01:00
reader.h Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00
readline.c C: fix history function with libedit-2 2015-07-23 14:01:34 -05:00
readline.h Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.c Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step1_read_print.c Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step2_eval.c Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step3_env.c Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.c Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.c Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.c load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.c load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.c load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.c load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.c load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.c c: Add Boehm garbage collector 2016-04-08 09:24:21 -04:00
types.h Ada, C: fix step3 error handling. 2016-11-01 10:44:49 -05:00