1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00
mal/js
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.js js, lua, perl, python, racket: Add number?, fn?, macro? 2017-10-11 10:28:04 +02:00
Dockerfile Update JS impls: use ffi-napi and Ubuntu 18.04 2018-11-28 17:12:17 -06:00
env.js All: add keywords. 2015-01-09 16:16:50 -06:00
interop.js js: Fix interop, update web REPL page 2016-06-14 23:21:38 -04:00
jq_readline.js JS: add localStorage history load/save. Slurp using sync XHR. 2014-04-27 16:55:31 -05: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.js All: add keywords. 2015-01-09 16:16:50 -06:00
reader.js gnu-smalltalk, go, js, lua, php, rust, ts: Detect more unterminated strings. 2019-05-16 22:06:02 +01:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.js Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step1_read_print.js Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step2_eval.js Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step3_env.js Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step4_if_fn_do.js Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.js Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.js load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.js load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.js load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.js load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.js load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.js js, lua, perl, python, racket: Add number?, fn?, macro? 2017-10-11 10:28:04 +02:00
web Move web files into docs/. Build docs/web/mal.js 2019-03-21 00:14:56 -05:00