1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-10 12:47:45 +03:00
Commit Graph

40 Commits

Author SHA1 Message Date
Joel Martin
b6dc3e37aa awk-es6, Makefile: dist ruiles 2016-02-24 00:33:20 -06:00
Joel Martin
411abc90f4 Merge pull request #146 from dubek/fix-macro-eval
Fix macro eval in 24 impls
2016-01-26 14:16:55 -06:00
Dov Murik
b1165f9178 crystal, elixir, erlang, factor, perl: fix macro result evaluation
Issue #142
2016-01-25 20:58:33 -05:00
Dov Murik
166da203fa Add gensym and clean or macro to stepA of 13 implementations (part 2)
* bash
* c
* clojure
* coffee
* crystal
* d
* elixir
* erlang
* forth
* lua
* make
* nim
* perl
2016-01-23 00:31:55 -05:00
rhysd
d3ce5b49ca Crystal: bump up crystal version to 0.10.0 2016-01-01 01:46:18 +09:00
Joel Martin
8d78bc26bf All: fix read/print of \\, and \n 2015-10-30 22:05:49 -05:00
Joel Martin
f15b4021db All: show comments with stats target.
- Put guile into correct alphabetical order.
2015-10-26 22:33:49 -05:00
rhysd
624b7bc681 Crystal: Fix missing method error for Crystal 0.8.0 2015-10-09 02:25:17 +09:00
Joel Martin
fc4c7889cb Travis: add remaining implementations.
- new impls: awk, crystal, elixir, erlang, es6, fsharp, groovy, guile
  (disabled), rpython (disabled)
2015-10-07 21:46:12 -05:00
Joel Martin
abff2fa8a4 Crystal: fix full stats. 2015-06-03 12:59:50 -05:00
rhysd
97d0deb1b8 crystal: fix for Crystal 0.7.2 2015-06-04 01:59:10 +09:00
rhysd
725ee0bd91 crystal: fix early steps broken because of later refactoring 2015-06-04 00:33:08 +09:00
rhysd
b9e204b19c crystal: make MAL_IMPL=crystal test^mal succeeds finally 2015-06-04 00:33:02 +09:00
rhysd
86fe63145a crystal: fix Makefile to build all steps 2015-06-03 02:26:59 +09:00
rhysd
6e7390b73b crystal: all tests for stepA pass 2015-06-03 02:26:59 +09:00
rhysd
09fb509eb4 crystal: refactor by adding Array to Mal type conversion 2015-06-03 02:26:59 +09:00
rhysd
1ec346559b crystal: implement step9 2015-06-03 02:26:59 +09:00
rhysd
4f725b5ca2 crystal: improve error message 2015-06-03 02:26:59 +09:00
rhysd
9bbb8ccc73 crystal: implement step8 2015-06-03 02:26:59 +09:00
rhysd
ce0696d570 crystal: implement step7 2015-06-03 02:26:59 +09:00
rhysd
9d627bccc1 crystal: fix hashmap 2015-06-03 02:26:59 +09:00
rhysd
d21ef941e8 crystal: implement step6 2015-06-03 02:26:59 +09:00
rhysd
436f169cf1 crystal: implemented step5
the test (def! res1 (sum-to 10000)) failed in my environment because it
could compute the result even if TCO is not available.  If stack
overflow happens, the interpreter will go into SEGV.
2015-06-03 02:26:59 +09:00
rhysd
51be5007ee crystal: complete step4 2015-06-03 02:26:59 +09:00
rhysd
4499e5c813 crystal: add "&" param and 'not' function 2015-06-03 02:26:59 +09:00
rhysd
9b8a3da957 crystal: add relational operators 2015-06-03 02:26:59 +09:00
rhysd
2c76c2ff16 crystal: refactor member names and errors 2015-06-03 02:26:59 +09:00
rhysd
7fe6282ef6 crystal: define Mal::Type class instead of simple alias of union 2015-06-03 02:26:59 +09:00
rhysd
b31653d57a crystal: make core.cr and implement +, -, *, /, list, list?, empty?, count and = 2015-06-03 02:26:59 +09:00
rhysd
bed63064c5 crystal: eval all types, not only a list 2015-06-03 02:26:58 +09:00
rhysd
095b73ea45 crystal: start step4, implement 'do', 'if' and 'fn*' 2015-06-03 02:26:58 +09:00
rhysd
66f3d7a489 crystal: read_*() functions are member of Reader class 2015-06-03 02:26:58 +09:00
rhysd
e014087da3 crystal: allow Vector in binding of 'let*'
all tests passed in step3
2015-06-03 02:26:58 +09:00
rhysd
b26be0222d crystal: implement step3 basic functionality 2015-06-03 02:26:58 +09:00
rhysd
eec5fc4f5b crystal: implement step2
Crystal seems to treat 'Proc(Args..., Ret)' as '(Args...) -> Ret' but
distinguishes 'Proc(Args..., Ret)' from '(Args...) -> Ret'.
It causes a type-mismatch error.  I added some workarounds for it.
2015-06-03 02:26:58 +09:00
rhysd
afc3a8d584 crystal: add vector and hash-map, fix with-meta and error output 2015-06-03 02:26:58 +09:00
rhysd
448769e3b6 crystal: add symbols and fix ignoring comment 2015-06-03 02:26:58 +09:00
rhysd
fdf28b7657 crystal: basic implementation of step1 2015-06-03 02:26:58 +09:00
rhysd
2c436e30c0 crystal: implement mal in Mal module 2015-06-03 02:26:58 +09:00
rhysd
85c1b0c0d8 crystal: implement step0 2015-06-03 02:26:58 +09:00