1
1
mirror of https://github.com/kanaka/mal.git synced 2024-10-26 22:28:26 +03:00
mal/wasm
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.wam Various small self-host mode fixes. 2019-05-29 21:18:52 -05:00
debug.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00
Dockerfile wasm: wax runtime. Use WASI preopen process. 2019-04-19 01:07:08 -05:00
env.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00
Makefile wasm: wax runtime. Use WASI preopen process. 2019-04-19 01:07:08 -05:00
mem.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00
node_readline.js wasm: enable execution with Node 2018-12-09 22:55:49 -06:00
package.json wasm: use wam-1.0.8 which supports new binaryen. 2019-04-15 20:54:11 -05:00
platform_direct.wam wasm: wax runtime. Use WASI preopen process. 2019-04-19 01:07:08 -05:00
platform_libc.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
platform_wasi.wam wasm: fix platform_wasi preopen search. 2019-05-13 13:43:48 -05:00
printer.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00
printf.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00
reader.wam Error on unterminated strings. 2019-01-25 16:16:06 -06:00
run wasm: wax runtime. Use WASI preopen process. 2019-04-19 01:07:08 -05:00
run.js wasm: wax runtime. Use WASI preopen process. 2019-04-19 01:07:08 -05:00
step0_repl.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
step1_read_print.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
step2_eval.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
step3_env.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
step4_if_fn_do.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
step5_tco.wam wasm: direct platform, wam memory 2019-04-15 00:57:59 -05:00
step6_file.wam load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.wam load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.wam load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.wam load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.wam load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
string.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00
types.wam wasm: update to 2019 wat syntax, use .wat extension 2019-01-16 00:13:51 -06:00