1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-19 09:38:28 +03:00
Commit Graph

249 Commits

Author SHA1 Message Date
Javier Fernandez-Ivern
53c2ea70cf Implemented Kotlin MAL up to step 4 2015-10-24 22:10:53 -05:00
Joel Martin
8248463181 Julia: update to verion 0.4. Add time-ms. 2015-10-24 15:41:22 -05:00
Dov Murik
50a964ce14 Vimscript implementation 2015-10-20 15:04:04 -04:00
Joel Martin
406761e769 ps: fix self-host and runtest.py parsing issue.
- make sure readline has large enough string for steps2-A
- fix keyword? so that it doesn't leave anything extra on the stack
- fix argparse command line parsing so that that the second '--' on
  the command line is not dropped.
2015-10-12 22:14:45 -05:00
Joel Martin
922d4c3b9b Makefile and tests/step4: Self-host test fixes.
- Always use stepA for the RUNSTEP macro in addition to the
  STEP_TO_PROG macro.
- Disable the (fib 10) test because this is really too slow for
  several self-hosted implementations to complete before a timeout.
2015-10-11 22:10:59 -05:00
Joel Martin
337c80310c guile: fix regex with unicode bug. 2015-10-09 11:15:26 -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
Joel Martin
f7824465dc Another travisCI attempt for JS and python (matrix). 2015-10-05 17:25:48 -05:00
Joel Martin
cf1d3eae66 Add .travis.yml and js/Dockerfile
- .travis.yml: currently pulls js docker image and runs tests for js
  impl only.
2015-10-05 16:46:21 -05:00
ekmartin
df2ca97b82 Update Elixir build method 2015-09-10 22:10:40 +02:00
ekmartin
bb52697591 Update README/Makefile/Dockerfile 2015-09-10 01:47:55 +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
51c2c1fea7 Add elixir step0 2015-09-03 00:08:25 +02:00
Mitsuru Kariya
3b7ef8c720 rename directory 2015-08-26 10:13:25 +09:00
Mitsuru Kariya
8c7587af67 Adds GNU awk implementaion 2015-08-26 00:46:31 +09:00
Joel Martin
4eb719905f ES6: step0 and step1 basics. 2015-07-30 21:15:55 -05:00
Peter Stephens
22ded92c88 Merge remote-tracking branch 'kanaka/master' into fsharp
Conflicts:
	.gitignore
	Makefile
2015-07-05 21:28:20 -05:00
Joel Martin
4fc7a281be Makefile: add generic top-level impl build rule.
This will attempt to build the program in the implementation directory
when, for example `make test^step1` is invoked. This was true for
c and cpp, but now the rule is generic.
2015-06-16 10:23:12 -05:00
Joel Martin
80320efc47 RPython: step1 basics 2015-06-11 09:33:07 -05:00
rhysd
725ee0bd91 crystal: fix early steps broken because of later refactoring 2015-06-04 00:33:08 +09:00
rhysd
86fe63145a crystal: fix Makefile to build all steps 2015-06-03 02:26:59 +09:00
rhysd
58b84dd5ca crystal: Prepare to implement with Crystal 2015-06-03 02:26:58 +09:00
Joel Martin
a9cd654347 Add groovy implementation.
I'm away from my main workstation for a week and unfortunately, I only
copied the code but not the branch with full history so this is just
the implementation. However, the history isn't all that interesting
(mostly just the steps one at a time) and I wanted to get this out
there.
2015-05-18 19:54:18 -07:00
Joel Martin
9f21caf388 Merge pull request #56 from NalaGinrut/master
Added GNU Guile implementation
2015-04-06 15:18:50 -05:00
Peter Stephens
8862f80efd fsharp: step5: Added tail call optimization. 2015-04-04 22:01:05 -05:00
Nathan Fiedler
e07b9830ca Step 6 of Make-a-Lisp for Erlang
make test^erlang^step0 passes
make test^erlang^step1 passes
make test^erlang^step2 passes
make test^erlang^step3 passes
make test^erlang^step4 passes
make test^erlang^step5 "passes"
make test^erlang^step6 passes
2015-04-04 09:15:20 -07:00
Nathan Fiedler
2cc3804b19 Step 0 of Make-a-Lisp for Erlang
Requires rebar to build.

make test^erlang^step0 passes
2015-04-04 08:59:16 -07:00
Nala Ginrut
e125d3654b merge upstream 2015-04-04 02:37:57 +08:00
Jordan Lewis
389c9b8a32 factor: step0 and scaffolding 2015-04-01 15:54:24 -04:00
Joel Martin
a23e0cdb75 Julia: step 1 basics. 2015-03-31 23:04:42 -05:00
Nala Ginrut
8d3e71edaf guile enable step5 test 2015-04-01 00:29:08 +08:00
Nala Ginrut
f040d9fbf4 guile step5 & step6 works 2015-03-31 23:39:59 +08:00
Stephen Thirlwall
0fbd1b81cd Exclude cpp from test step 5
Completes at 10,000 (bus error at 20,000)
2015-03-28 15:26:07 +11:00
Stephen Thirlwall
9ddaa0b91b c++11: step 0 2015-03-27 20:44:42 +11:00
Peter Stephens
d993b22f43 Merge branch 'master' of https://github.com/kanaka/mal into fsharp
Conflicts:
	Makefile
2015-03-27 04:31:38 -05:00
Nala Ginrut
32ce1662b6 merged upstream:master 2015-03-25 23:03:20 +08:00
Nala Ginrut
44af092c8e update Makefile for guile 2015-03-25 23:00:46 +08:00
Keith Rollin
2539e6af82 Initial Swift implementation. 2015-03-23 01:23:27 -07:00
Nala Ginrut
ffddef669d Merge branch 'master' of github.com:kanaka/mal into guile 2015-03-19 21:28:49 +08:00
Joel Martin
82acd3de8b runtest: set PERL_RL=false, remove --raw.
Thanks to suggestion from Stephen Thirlwall
(99ec06dd23 (commitcomment-10278903))
2015-03-19 08:00:28 -05:00
Nala Ginrut
b8a8161f34 Merge branch 'master' of github.com:kanaka/mal into guile 2015-03-19 16:18:49 +08:00
Nala Ginrut
5eb1f5cbf6 add Guile implementation to Makefile 2015-03-19 16:18:37 +08:00
Joel Martin
99ec06dd23 Perl: still seems to need --raw in some situations. 2015-03-18 23:57:52 -05:00
Joel Martin
798206accb java,lua,perl: with TERM=dumb, --raw not needed
- Only mono based implementations (C#, VB) still need this.
2015-03-18 09:01:01 -05:00
Joel Martin
8caf621154 runtest: set TERM=dumb, remove --mono mode 2015-03-18 08:47:01 -05:00
Chris M Moore
917250b157 Ada: merge to latest baseline 2015-03-17 14:23:27 +00:00
Peter Stephens
57573a733e Merge branch 'master' of https://github.com/kanaka/mal into fsharp
Conflicts:
	Makefile
2015-03-16 21:36:04 -05:00
Joel Martin
dbac60df00 All: move metadata, atoms, readline, conj to stepA.
- Move some of the more optional things (conj, readline) to stepA. All
  implementations pass step9 tests now.
- Move metadata and atoms to stepA.
- Update step9 and stepA diagrams.
2015-03-14 17:17:14 -05:00
Joel Martin
8569b2af48 Misc updates to TODO, guide and README.
- Also, add SKIP_IMPLS option to top-level Makefile to ignore a list
  of implementations. Particularly useful for excluding licensed
  matlab when running tests on system without it (e.g. within
  container).
2015-03-11 22:08:21 -05:00
Chris M Moore
99be41dfa1 Ada stage 0 2015-03-05 21:50:10 +00:00
Peter Stephens
b3eedddbe7 Merge branch 'master' into fsharp
Conflicts:
	Makefile
2015-03-04 19:29:33 -06:00
Joel Martin
434516e0d1 Rust: build with --release. 10X performance boost! 2015-03-04 11:25:21 -06:00
Joel Martin
2b0fa48326 Merge pull request #20 from def-/master
Add Nim
2015-03-03 22:46:09 -06:00
def
a2cd0a3ada Add instructions and makefile for Nim 2015-03-04 04:39:43 +01:00
Joel Martin
992543a722 Various: stepA test fixes/ignores. 2015-03-02 13:46:30 -06:00
Joel Martin
9a3835358a runtest.py: cleanup and rename --redirect to --mono 2015-03-02 13:41:49 -06:00
def
4ce9e165ba Nim: stepA 2015-03-02 16:08:54 +01:00
Joel Martin
3e0b36dcee Lua: fix with new runtest.py 2015-02-28 15:58:35 -06:00
Joel Martin
7907cd904a runtest.py: order of magnitude faster.
C#, VB and Lua tests are broken though.
2015-02-28 15:41:18 -06:00
Joel Martin
90f618cbe7 All: rename stepA_interop to stepA_mal
Also, add missed postscript interop tests.
2015-02-28 11:09:54 -06:00
Joel Martin
699f0ad23a Add long running perf test. 2015-02-28 10:38:17 -06:00
def
b94acce656 Nim: step1 2015-02-28 14:23:19 +01:00
Peter Stephens
ed3a12f526 fsharp: Partial step 1: Numbers 2015-02-23 22:22:58 -06:00
Peter Stephens
1c358979bf fsharp: Add step 0 2015-02-21 21:43:40 -06:00
Chouser
59038a10f0 forth: Added lists, ints, symbols for step 1 2015-02-21 13:22:43 -05:00
Joel Martin
c1fe72ae2b miniMAL: step1. 2015-02-11 21:56:47 -06:00
Joel Martin
7f567f3645 matlab: stepA, perf test, comments. 2015-02-09 00:23:10 -06:00
Joel Martin
c4033aab51 matlab: add step8 2015-02-08 23:51:47 -06:00
Joel Martin
9a54ea186c matlab: step0 and step1 basics. 2015-02-07 20:32:24 -06:00
Chouser
44d4e31fc8 Ocaml: Add step 5, TCO worked automatically in Ocaml 2015-01-30 12:54:43 -05:00
Chouser
59d10e1bd7 Ocaml: Added step 1, missing some optional functionality 2015-01-30 12:54:42 -05:00
Chouser
ca51c4f772 OCaml: add step 0 2015-01-30 12:54:42 -05:00
Joel Martin
9d42904e47 Lua: all steps and self-hosting.
Also some misc docs/TODO updates.
2015-01-08 23:25:40 -06:00
Joel Martin
f522319598 Racket: add steps0-A. Self-hosting.
- Some additioanl tests.
- Split step9 tests into optional but self-hosting requirements
  (metadata on functions) and other optional (conj, metadata on
  collections).
2015-01-09 16:16:55 -06:00
Joel Martin
b76aa73bc7 Haskell: steps 0-3 2015-01-09 16:16:52 -06:00
Joel Martin
821930dbd9 Scala: all steps 0-9 but no metadata. 2015-01-09 16:16:51 -06:00
Joel Martin
b8ee29b22f All: add keywords.
Also, fix nth and count to match cloure.
2015-01-09 16:16:50 -06:00
Joel Martin
aaba249304 VB.Net, C#: fix cmd line arg handling with --raw 2015-01-09 16:16:47 -06:00
Joel Martin
ee7cd5859e VB.Net: port of C# version. 2015-01-09 16:16:47 -06:00
Joel Martin
891c3f3b47 CoffeeScript: add all steps. Self-hosting. 2015-01-09 16:16:45 -06:00
Joel Martin
4d1456b98f R: step0-3, readline FFI. 2015-01-09 16:15:49 -06:00
Joel Martin
a77e2b31de rust: add step8_macros 2015-01-06 21:58:59 -06:00
Joel Martin
abdd56ebc0 Rust: step0_repl and step1_read_print 2015-01-06 21:58:35 -06:00
Joel Martin
01c9731649 All: swap step9,A. Fixes for bash, C, perl.
step9_interop -> stepA_interop
stepA_more -> step9_try

C: fix glib headers
bash: behavior change of declare -A and pattern replacement.
perl: squelch new 5.18 warnings related to switch/given statement.

Also, include some in-progress interop related files.
2015-01-06 21:57:24 -06:00
Joel Martin
17e1c5f9f4 go: add step5_tco. Refactor env.
Move EnvType interface definition to types.go. Remove Env pointers.
2014-10-06 21:03:03 -05:00
Joel Martin
69b4abd6ef go: step0_repl 2014-10-04 18:34:26 -05:00
Joel Martin
3f26b8f601 Makefile: exclude test^mal^step0 2014-05-10 15:44:57 -05:00
Joel Martin
cc021efe10 Add step5/9 tests for impls that support it.
- Also remove broken make/tests/*.mk tests. Not used any more.
2014-04-27 17:58:48 -05:00
Joel Martin
6301e0b637 All: TCO let* and quasiquote. 2014-04-23 21:59:50 -05:00
Joel Martin
b5dedee06b Perl: add step1_read_print, types. 2014-04-19 15:12:13 -05:00
Joel Martin
db4c329aff All: perf test, Makefile refactor, add *host-language*
Other:
- bash,make,postscript: quasiquote of vectors
- Fix Java slurp
- add time function to core.mal
    - switches on *host-language* for make time-secs vs time-ms
- Ignore */experiments directories
2014-04-17 21:49:07 -05:00
Joel Martin
a05f7822b1 Python: metadata on builtin funcs. Support python3. 2014-04-16 22:42:17 -05:00
Joel Martin
166398b84f PS: fix test invocation. 2014-04-14 23:04:38 -05:00
Joel Martin
f705f0fce1 Ruby: step0, step1 2014-04-10 20:34:29 -05:00
Joel Martin
712af9efbe Add stats-lisp target (only env, core, stepA) 2014-04-10 19:27:42 -05:00
Joel Martin
17ae845ec1 C#: add metadata and atoms. 2014-04-09 21:57:50 -05:00
Joel Martin
53beaa0a6d CS: add step1_read_print 2014-04-06 22:13:14 -05:00
Joel Martin
1b4a9012c5 PS: minimal step1_read_print 2014-03-29 15:56:20 -05:00
Joel Martin
3169070063 Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00