1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-09 18:06:35 +03:00
mal/livescript
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
..
core.ls Livescript Convert not from native to built-in. 2019-05-07 11:31:47 +02:00
Dockerfile Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
env.ls More of step 8 2017-05-13 22:05:34 +02:00
error.ls Step 6 2017-05-11 21:37:12 +02:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
node_readline.js Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
package.json Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
printer.ls Step 6 2017-05-11 21:37:12 +02:00
reader.ls io, livescript: Detect more unterminated strings. 2019-05-17 23:22:56 +01:00
run Added livescript 2017-04-05 22:01:41 +02:00
step0_repl.ls Step 0 & 1 2017-05-05 22:19:54 +02:00
step1_read_print.ls Deferrables until step 4 2017-05-10 17:57:31 +02:00
step2_eval.ls Deferrables until step 4 2017-05-10 17:57:31 +02:00
step3_env.ls Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.ls Livescript Convert not from native to built-in. 2019-05-07 11:31:47 +02:00
step5_tco.ls Livescript Convert not from native to built-in. 2019-05-07 11:31:47 +02:00
step6_file.ls load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.ls load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.ls load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.ls load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.ls load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
utils.ls Deferrables until step 4 2017-05-10 17:57:31 +02:00