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

55 Commits

Author SHA1 Message Date
Joel Martin
b6dc3e37aa awk-es6, Makefile: dist ruiles 2016-02-24 00:33:20 -06:00
Dov Murik
d46927d0c8 elixir, erlang, lua, php, r, vimscript: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -05:00
ekmartin
e11a5d44b8 Elixir: Make sure equals for maps has the correct list/vector behavior 2016-02-01 18:58:12 +01:00
ekmartin
2c7a2b0794 Elixir: Fix nested list/vector equality 2016-01-27 20:45:21 +01: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
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
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
ekmartin
230dc1aa8d Only print header info in REPL mode 2015-09-10 13:53:08 +02:00
ekmartin
bb52697591 Update README/Makefile/Dockerfile 2015-09-10 01:47:55 +02:00
ekmartin
690820fcf5 Add conj, all tests 0 to A passes 2015-09-10 00:31:04 +02:00
ekmartin
e497903fe6 Add support for atoms 2015-09-10 00:14:44 +02:00
ekmartin
6c7c9e6f1a Change core functions to be mal functions and add meta/with-meta 2015-09-09 18:44:19 +02:00
ekmartin
eccae82ac6 Use the new data structures in the other steps 2015-09-09 17:53:47 +02:00
ekmartin
9dd9dd2f59 Use a struct for functions 2015-09-09 17:32:48 +02:00
ekmartin
ced3f0d09c Use a tuple for lists too and add meta info to the tuple 2015-09-09 17:00:26 +02:00
ekmartin
bd0c3504fd Add core readline and use it in all steps 2015-09-08 00:20:21 +02:00
ekmartin
1cd421f472 Change all non exported functions from def -> defp 2015-09-07 23:35:57 +02:00
ekmartin
87e39e762d Add map core functions, step 1 to 9 passing 2015-09-07 23:30:43 +02:00
ekmartin
4f16e21e31 Add evaluating of hash-maps to steps 2 - 9 2015-09-07 23:15:47 +02:00
ekmartin
60d468a64e Add reading and printing of hash-maps 2015-09-07 23:11:08 +02:00
ekmartin
1bc4ac2bb6 Add support for vectors in all steps 2015-09-07 16:32:26 +02:00
ekmartin
2b8ec8adf8 Fix keyword representation and add more core functions 2015-09-07 14:08:49 +02:00
ekmartin
ed5a059b02 Add apply, symbol? nil? true? and false? 2015-09-07 13:55:51 +02:00
ekmartin
0a272a6be5 Add try*/catch and map 2015-09-07 13:28:32 +02:00
ekmartin
0887f47086 Add support for nth, first, rest, cond, or and macroexpand 2015-09-07 12:33:33 +02:00
ekmartin
e91491f2fc Add support for defmacro! 2015-09-06 18:48:12 +02:00
ekmartin
0fab722c42 Rely more on Kernel.inspect for printing 2015-09-06 18:44:14 +02:00
ekmartin
0568566fbe Add quote and quasiquote support 2015-09-06 17:33:37 +02:00
ekmartin
4115c430e3 Add cons and concat to core 2015-09-06 16:08:21 +02:00
ekmartin
ec2bf00bf8 Add support for load-file, eval and *ARGV* 2015-09-06 15:51:45 +02:00
ekmartin
2b9d9010c1 Exit with code 0 on EOF 2015-09-06 15:51:25 +02:00
ekmartin
68ce2eeaeb Add read-string and slurp 2015-09-06 15:12:59 +02:00
ekmartin
d88bc83145 Make sure eval of do is in tail position and skip step 5 2015-09-06 14:59:45 +02:00
ekmartin
2559456fba Use print_readably correctly for lists 2015-09-06 01:34:20 +02:00
ekmartin
9216ae8a60 Add support for variable length arguments 2015-09-06 01:30:08 +02:00
ekmartin
a355b219fe Add not and printing functions 2015-09-06 01:22:54 +02:00
ekmartin
d34837dd38 Implement core functions 2015-09-06 00:33:13 +02:00
ekmartin
fffde7d7bc Pass args to namespace as a list 2015-09-06 00:13:12 +02:00
ekmartin
a72291ebfc Add support for fn* 2015-09-05 23:54:15 +02:00
ekmartin
880cc6f4af Add if support 2015-09-05 22:57:23 +02:00
ekmartin
98ea77cfbd Add do support 2015-09-05 22:57:16 +02:00
ekmartin
310251eaab Support multiple let* binding clauses 2015-09-05 22:39:11 +02:00
ekmartin
97233b7b7d Implement basic let* functionality (one pair) 2015-09-05 17:19:19 +02:00
ekmartin
e62cd1b034 Add support for def! 2015-09-05 17:08:11 +02:00
ekmartin
ee6614ec66 Step 2 using agent as env 2015-09-05 01:51:58 +02:00
ekmartin
811fe2d2f8 Finish step 2, no optional functionality 2015-09-05 01:51:35 +02:00
ekmartin
105da76d0d Use throw/catch for cleaner code 2015-09-05 00:36:47 +02:00