1
1
mirror of https://github.com/kanaka/mal.git synced 2024-10-26 14:22:25 +03:00
mal/tcl
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 Runtest should fail on bad test data. Fix interop tests. 2019-01-28 10:27:41 -06:00
core.tcl forth, skew, tcl: Add number?, fn?, macro? 2017-10-14 12:21:33 +00:00
Dockerfile Travis: add Tcl 2015-11-09 22:53:30 -06:00
env.tcl Tcl implementation 2015-11-09 22:15:15 -05:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
mal_readline.tcl tcl: add --raw flag to allow running without Readline 2015-11-10 13:11:49 -05:00
printer.tcl Tcl implementation 2015-11-09 22:15:15 -05:00
reader.tcl perl, python, tcl: Correctly detect more unterminated strings. 2019-05-08 22:47:34 +01:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.tcl Tcl implementation 2015-11-09 22:15:15 -05:00
step1_read_print.tcl Tcl implementation 2015-11-09 22:15:15 -05:00
step2_eval.tcl Fix empty list eval in step2 for most languages. 2016-04-02 18:40:49 -05:00
step3_env.tcl tcl: Fix exception on literal empty list 2016-03-27 22:17:00 -04:00
step4_if_fn_do.tcl tcl: Fix exception on literal empty list 2016-03-27 22:17:00 -04:00
step5_tco.tcl tcl: Fix exception on literal empty list 2016-03-27 22:17:00 -04:00
step6_file.tcl load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.tcl load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.tcl load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.tcl load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.tcl load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.tcl forth, skew, tcl: Add number?, fn?, macro? 2017-10-14 12:21:33 +00:00