1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 02:27:10 +03:00
Commit Graph

68 Commits

Author SHA1 Message Date
Joel Martin
c4269f9bf5 Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
Joel Martin
bb1e6df663 elixir, elm, erlang: Support catchless try*. 2019-02-28 17:36:54 -06:00
Joel Martin
2adfa11c98 ada, d, elixir, es6, factor, haxe: fix errors. 2018-11-30 14:57:45 -06:00
Dov Murik
9d7af55272 elixir, erlang, julia, kotlin: Add number?, fn?, macro? 2017-10-26 10:40:06 +00:00
Iqbal Ansari
1b17329dd5 Fix unescaping strings for racket, elixir and io 2017-09-28 07:39:31 -05:00
Michael Pope
007e4bf842 Update Dockerfile for Elixir 2017-09-13 12:50:56 -07:00
Michael Pope
e68e138f27 Update Elixir syntax & version to work with v1.5.x 2017-09-12 11:34:43 -07:00
Joel Martin
20e8dea043 Refactor to use run scripts, remove *_RUNSTEP
- Add */run script for every implementation.

- Refactor Clojure build to allow individual jar files for each step.

- Update FFI version for es6 and miniMAL to work with newer node
  versions.

The run scripts for the following could use some additional
refactoring:
- java: build individual step jar, use java -jar instead of mvn to run
- plpgsql: maybe combine plpgsql/run and plpgsql/wrap.sh
- vhdl: combine vhdl/run and vhdl/run_vhdl.sh
- vimscript: combine vimscript/run and vimscript/run_vimscript.sh
2016-05-18 22:29:18 -07:00
Joel Martin
efa2daef57 Fix empty list eval in step2 for most languages.
I think the only remaining ones are ada, elisp, factor, and rust.
2016-04-02 18:40:49 -05:00
Dov Murik
52cee85649 elixir: Fix exception on literal empty list
Issue #190
2016-03-27 23:07:36 -04:00
Joel Martin
dca6b58578 Tests: move step5 non-TCO tests to per impl.
- Remove most of the step5 excludes in the Makefile except for ones
  which don't have TCO capability at all (or the implementation is too
  slow): bash, make, mal, matlab.

- Make perf_EXCLUDES consistent with other excludes.

- Add a print-FOO target which prints the resolved value of Makefile
  variable FOO. For example, `make print-IMPLS` to print the list of
  implementations.
2016-03-14 23:39:21 -05:00
Joel Martin
9044b1fdb1 Merge branch 'master' into issue_166_string_ops 2016-02-24 12:00:08 -06:00
Joel Martin
b6dc3e37aa awk-es6, Makefile: dist ruiles 2016-02-24 00:33:20 -06:00
Dov Murik
c798849580 elixir: add seq and string?
Issue #166
2016-02-14 23:41:58 -05: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