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

3526 Commits

Author SHA1 Message Date
Fabian
7e015062a9 SML CI: add mosml, mlton, setup GitHub workflow 2021-05-02 17:35:40 -05:00
Fabian
9798302546 SML portability: use LargeInt for time-ms 2021-05-02 17:35:40 -05:00
Fabian
a2d6e66030 add SML README 2021-05-02 17:35:40 -05:00
Fabian
4594bff0e3 formatting 2021-05-02 17:35:40 -05:00
Fabian
f3e4237e8d remove unused function 2021-05-02 17:35:40 -05:00
Fabian
177940d90c Dockerize SML, make dist 2021-05-02 17:35:40 -05:00
Fabian
d000ac7398 SML: Step A 2021-05-02 17:35:40 -05:00
Fabian
c75c9ebda9 rename makeList etc. 2021-05-02 17:35:40 -05:00
Fabian
ff01165584 reorganize core.sml 2021-05-02 17:35:40 -05:00
Fabian
6a2ae42e5c fix defmacro behavior 2021-05-02 17:35:40 -05:00
Fabian
22937e5987 add metadata 2021-05-02 17:35:40 -05:00
Fabian
1ed1b35ed9 stubs for self hosting 2021-05-02 17:35:40 -05:00
Fabian
3edde8cc2e add reader macro ^ 2021-05-02 17:35:40 -05:00
Fabian
06894e6c8b add *host-language* and repl welcome 2021-05-02 17:35:40 -05:00
Fabian
9c6ae5d723 add core readline 2021-05-02 17:35:40 -05:00
Fabian
6b14be1285 step A scaffolding 2021-05-02 17:35:40 -05:00
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