1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00
Commit Graph

3560 Commits

Author SHA1 Message Date
Fabian
4cb61f5426 SML: Step 9 2021-05-02 17:35:40 -05:00
Fabian
f8faaec47f add core collection functions 2021-05-02 17:35:40 -05:00
Fabian
f2a37a3ae4 add core keyword, symbol and type predicates 2021-05-02 17:35:40 -05:00
Fabian
a8d4e41be6 make rep handle mal exceptions 2021-05-02 17:35:40 -05:00
Fabian
e9cd0923c2 add core nil?, true?, false?, symbol? 2021-05-02 17:35:40 -05:00
Fabian
b7cc870f89 fix eval bugs in bind 2021-05-02 17:35:40 -05:00
Fabian
bfaeb3bfe9 add core map,apply 2021-05-02 17:35:40 -05:00
Fabian
ce4940014c formatting 2021-05-02 17:35:40 -05:00
Fabian
4fe3a8d750 add throw, try*, catch* 2021-05-02 17:35:40 -05:00
Fabian
49f9904b05 step 9 scaffolding 2021-05-02 17:35:40 -05:00
Fabian
fb799bf8e3 split out special form evaluation 2021-05-02 17:35:40 -05:00
Fabian
e0d52cafec explicit error reporting in step8 2021-05-02 17:35:40 -05:00
Fabian
79962a1e17 refactor bindings 2021-05-02 17:35:40 -05:00
Fabian
e0925d559d SML: Step 8 2021-05-02 17:35:40 -05:00
Fabian
10f9022397 add core nth, first, rest 2021-05-02 17:35:40 -05:00
Fabian
aa6030040e step 8 scaffolding 2021-05-02 17:35:40 -05:00
Fabian
0c18399f52 fix strings in step 1 tests 2021-05-02 17:35:40 -05:00
Fabian
40f965a80e SML: Step 7 2021-05-02 17:35:40 -05:00
Fabian
238f9bd677 add core vec function 2021-05-02 17:35:40 -05:00
Fabian
fbcfb5962e add cons and concat 2021-05-02 17:35:40 -05:00
Fabian
f8400db56d step 7 scaffolding 2021-05-02 17:35:40 -05:00
Fabian
fcf6a20415 fix *ARGV* bug 2021-05-02 17:35:40 -05:00
Fabian
75814cb6f4 add & varargs and not 2021-05-02 17:35:40 -05:00
Fabian
c6a73d68f0 add keywords, vectors, maps 2021-05-02 17:35:40 -05:00
Fabian
4b3d031f4c cleanup closures after env changes 2021-05-02 17:35:40 -05:00
Fabian
9fc9f1c112 @ reader macro 2021-05-02 17:35:40 -05:00
Fabian
33da2f099c SML: Step 6 2021-05-02 17:35:40 -05:00
Fabian
2f046fbefd fix comment bug in reader 2021-05-02 17:35:40 -05:00
Fabian
e160b83391 make envs mutable 2021-05-02 17:35:40 -05:00
Fabian
3224c1b856 core atom functions 2021-05-02 17:35:40 -05:00
Fabian
8dcf6cb71c add atom type 2021-05-02 17:35:40 -05:00
Fabian
4f29901446 core.sml portability 2021-05-02 17:35:40 -05:00
Fabian
3d9c670159 let apply change the env 2021-05-02 17:35:40 -05:00
Fabian
714b444809 eval and load-file work 2021-05-02 17:35:40 -05:00
Fabian
ddae35eb05 core string functions 2021-05-02 17:35:40 -05:00
Fabian
8546e102f0 core: slurp and read-string 2021-05-02 17:35:40 -05:00
Fabian
a20d1fb942 implement string type 2021-05-02 17:35:40 -05:00
Fabian
6fe5eb8c2f step 6 scaffolding 2021-05-02 17:35:40 -05:00
Fabian
8424de4274 add sml_MODE selection for Make 2021-05-02 17:35:40 -05:00
Fabian
3672361157 refactor SML to be more portable 2021-05-02 17:35:40 -05:00
Fabian
5f4782d309 SML: TODO Step 5 2021-05-02 17:35:40 -05:00
Fabian
43465bf438 remove done TODO 2021-05-02 17:35:40 -05:00
Fabian
c88f663d3e SML: Step 4 2021-05-02 17:35:40 -05:00
Fabian
c635bcff4d make core functions variadic 2021-05-02 17:35:40 -05:00
Fabian
058c6dd98f closures capture the env 2021-05-02 17:35:40 -05:00
Fabian
ca9e16a350 mosml parser workaround 2021-05-02 17:35:40 -05:00
Fabian
d996fa41b6 add prn to core 2021-05-02 17:35:40 -05:00
Fabian
b832f794ac add core comparison functions 2021-05-02 17:35:40 -05:00
Fabian
643e6f4f3c core list functions 2021-05-02 17:35:40 -05:00
Fabian
2c68746267 if and fn* work 2021-05-02 17:35:40 -05:00