1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-17 16:47:22 +03:00
mal/objc
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 Tests: move step5 non-TCO tests to per impl. 2016-03-14 23:39:21 -05:00
core.h Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
core.m In objc. Modified conj, meta and with-meta to pass all the tests in stepA. 2018-12-18 14:05:56 +08:00
Dockerfile Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
env.h Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
env.m Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
mal_readline.c Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
mal_readline.h Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
malfunc.h Objective-C: steps 5-A, self-hosting, perf, README 2016-03-06 01:24:16 -06:00
malfunc.m Objective-C: steps 5-A, self-hosting, perf, README 2016-03-06 01:24:16 -06:00
printer.h Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
printer.m Objective-C: OS X: build, read_atom, str comp., etc. 2016-03-06 01:24:16 -06:00
reader.h Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
reader.m objc: Detect more unterminated strings. 2019-05-19 12:00:28 +01:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.m Objective-C: steps 5-A, self-hosting, perf, README 2016-03-06 01:24:16 -06:00
step1_read_print.m Objective-C: steps 5-A, self-hosting, perf, README 2016-03-06 01:24:16 -06:00
step2_eval.m objc: fix empty list evaluation. 2016-04-02 17:27:25 -05:00
step3_env.m objc: fix empty list evaluation. 2016-04-02 17:27:25 -05:00
step4_if_fn_do.m Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step5_tco.m Test uncaught throw, catchless try* . Fix 46 impls. 2018-12-12 14:18:26 -06:00
step6_file.m load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.m load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.m load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.m load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.m load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.h Objective-C: steps 5-A, self-hosting, perf, README 2016-03-06 01:24:16 -06:00
types.m In objc. Modified conj, meta and with-meta to pass all the tests in stepA. 2018-12-18 14:05:56 +08:00