1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-19 17:47:53 +03:00
mal/picolisp
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 Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
core.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
Dockerfile Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
env.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
func.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
reader.l picolisp: fix unterminated string handling 2019-05-16 23:45:23 +02:00
readline.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
run Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step0_repl.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step1_read_print.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step2_eval.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step3_env.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step4_if_fn_do.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step5_tco.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00
step6_file.l load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.l load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.l load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.l load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.l load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.l Rename gst and pil to gnu-smalltalk and picolisp 2018-06-17 19:54:54 +02:00