1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 09:10:48 +03:00
Commit Graph

267 Commits

Author SHA1 Message Date
Joel Martin
2d76e8776c Generic <impl>_MODE setting. Add travis modes.
For implementations that support different compile/run modes, the
convention is not <impl_name>_MODE=<mode>. This is passed through to
make/docker commands. Fix Makefiles and run scripts to listen to the
respective *_MODE variables.

Enable travis builds/tests for 4 Haxe modes and 2 python modes.
2017-09-11 17:54:26 -05:00
Vasilij Schneidermann
a7b8df6715 Rename to scheme 2017-09-11 23:54:50 +02:00
Joel Martin
4bb2ab37be Matlab: update to Octave 4.2.1
Make Octave the primary in the README description and add instructions
for direct Octave execution.
2017-09-11 16:47:55 -05:00
Vasilij Schneidermann
ff3a8bf8c1 Mention Scheme in README, add instructions 2017-09-10 12:24:55 +02:00
Joel Martin
b5775743e1 README: update to 68 languages. 2017-07-25 11:18:33 -05:00
Jos van Bakel
c9673ca1ec Merged master, resolved conflicts 2017-07-25 08:28:33 +02:00
Jos van Bakel
f38c7ffad1 Elm: fix makefile, added to readme and enable travis 2017-07-22 22:18:35 +02:00
Dov Murik
44a3e2ef70 rexx: Add Rexx to main README 2017-07-20 12:09:35 +00:00
Vasilij Schneidermann
9592d833f2 Mention in README 2017-07-10 09:14:54 +02:00
Joel Martin
04260e2741 Merge pull request #262 from c0deaddict/master
Livescript implementation
2017-05-24 12:28:28 -05:00
Jos van Bakel
0af8fd20ce Fixed Makefile, added Dockerfile and updated README. 2017-05-24 19:12:00 +02:00
Dennis Felsing
4603f2a931 Update to Nim 0.17.0 2017-05-23 19:07:34 +02:00
Joel Martin
9ed75afdf4 Update README with LambdaConf presentation. 2017-03-31 10:25:24 -05:00
vvakame
db885df9a0 address comment 2017-02-26 11:05:38 +09:00
vvakame
c527d56558 add TypeScript section README.md 2017-02-25 14:32:18 +09:00
Joel Martin
3c823be2f8 Merge pull request #250 from dubek/skew
Add Skew implementation
2016-11-21 11:16:23 -06:00
Dov Murik
034e82adc5 Add Skew implementation
See http://skew-lang.org/ for details on the Skew language. Currently
Mal only compiles to Javascript, as there are some issues with the C#
backend for Skew (https://github.com/evanw/skew/issues/19).

Tested with Skew 0.7.42.
2016-11-20 10:10:41 +00:00
Iqbal Ansari
e7f85ce18c Common Lisp: Add documentation 2016-11-18 22:49:18 +05:30
Harry Terkelsen
b15933d273 update number of languages Mal is implemented in 2016-11-13 14:44:11 -08:00
Harry Terkelsen
bcf95720f2 update readme 2016-11-13 14:35:35 -08:00
Joel Martin
332611f520 README: note ChucK tested on more than just Arch. 2016-11-04 22:52:05 -05:00
Joel Martin
2bcc46af48 Basic: capitalize BASIC
I guess.
2016-10-31 17:50:13 -05:00
Joel Martin
2bec1db017 Basic: update to 61 impls after merge. 2016-10-31 17:45:00 -05:00
Joel Martin
b3658328e4 Merge branch 'master' of github.com:kanaka/mal 2016-10-31 17:41:58 -05:00
Joel Martin
1b03073347 Merge branch 'basic' 2016-10-31 17:40:29 -05:00
Joel Martin
1b2453005e Basic: update the README. 2016-10-31 17:38:28 -05:00
Dennis Felsing
4dab2092b0 Update Nim to 0.15.2, clean up compiler warnings 2016-10-28 12:02:21 +02:00
Dov Murik
aa62cbda71 vimscript: Use Vim 8.0 lambdas to reduce boilerplate code 2016-10-25 22:33:02 +00:00
Joel Martin
8e3f833add Merge pull request #239 from wasamasa/picolisp
Picolisp
2016-10-25 17:20:07 -05:00
Vasilij Schneidermann
b6263859a9 Extend README 2016-10-25 23:43:32 +02:00
Joel Martin
f60f33e0d8 Haskell: update docker image to 7.10.3
This goes along with https://github.com/kanaka/mal/pull/238
2016-10-06 17:55:58 -05:00
Iqbal Ansari
b0e083743e Add GNU CLISP to the list of implementations 2016-08-29 22:35:43 +05:30
Joel Martin
5c34565f8d README: add PowerShell, implementation 58. 2016-08-24 17:42:19 -05:00
Vasilij Schneidermann
385a08eb76 Mention in README 2016-08-08 01:19:05 +02:00
Joel Martin
a3a6f68098 Swift3: update to Swift 3 Preview 3. 2016-07-31 23:25:23 -05:00
rhysd
d10848bb1d Crystal: subcommand is changed from 'build' to 'compile' 2016-06-25 08:21:15 +09:00
Dov Murik
4eb88ef295 Logo implementation
Tested on UCBLogo 6.0 with some minor tweaks (for performance and adding
a `timems` function).  The tweaks are performed during Docker image
creation (see Dockerfile).

Tests of step 5 are skipped because UCBLogo is too slow.

Interop is available via `(logo-eval "logo code to run")`.

The `examples` directory contains a Mal example of drawing a tree using
turtle graphics.
2016-06-17 16:36:09 -04:00
Hinrik Örn Sigurðsson
a708140106 Add Perl 6 implementation
All tests pass, but readline support (via Linenoise module) is commented
out in step0_repl.pl as it is not a core module. Should maybe change it
when docker support is added.
2016-06-11 15:02:06 +00:00
rhysd
492144ce47 Crystal: Fix steps for Crystal v0.17.4 2016-06-07 02:30:44 +09:00
Joel Martin
b88bb764ff *sql: update Makefiles, README. Logon override. 2016-05-22 00:18:25 -06:00
Dov Murik
36e91db404 Add VHDL implementation 2016-05-05 14:50:12 -04:00
Joel Martin
b25bf8d8d0 plpgsql: add to README. 2016-05-02 23:37:16 -05:00
Wilfred Hughes
07eb827b4d Fix broken link
Previously, this would link to https://github.com/kanaka/mal/blob/master/factorcode.org
2016-04-30 12:18:24 +01:00
Joel Martin
dede32ba2d README: fix clojurewest path and add midwest.io links. 2016-04-16 11:43:50 -05:00
Dov Murik
6b3ecaa769 c: Add Boehm garbage collector
By default, garbage collection is enabled.  You can run:

    make USE_GC=

to build the C implementation without garbage collection.
2016-04-08 09:24:21 -04:00
Joel Martin
7b458a6529 README: note Chris Moore created the Ada implementation. 2016-03-27 16:42:47 -05:00
Chris M Moore
6faafa00a4 Ada: update README.md and add prompt to stepA 2016-03-26 15:33:29 +00:00
Joel Martin
eaa6ceb47f Update README test count. Update docs/TODO. 2016-03-14 22:57:33 -05:00
Joel Martin
3746594c40 README: update count to 50. 2016-03-14 10:21:10 -05:00
Joel Martin
0067158f6d Object Pascal: full implementation. Test cleanup.
- Move vector related step4 and step6 tests to optional.
- Fix two step9 tests that weren't checking return value.
2016-03-13 17:12:01 -05:00
Joel Martin
5b207de75e Makefile/README documentation. Build rules.
- Also, general cleanup/commenting of toplevel Makefile.
2016-03-07 23:33:45 -06:00
Dov Murik
61f69fbabc io: Update README 2016-03-07 10:38:11 -05:00
Joel Martin
2faae94c0a Objective-C: OS X: build, read_atom, str comp., etc.
Also, fix designated init warnings. Note in README that OS X XCode
7 is also supported.
2016-03-06 01:24:16 -06:00
Joel Martin
7cae6e6f12 Objective-C: steps 5-A, self-hosting, perf, README 2016-03-06 01:24:16 -06:00
Vasilij Schneidermann
e0b7f668cf Extend README 2016-03-02 01:08:59 +01:00
Joel Martin
ea1395aa6e README.md: update with Swift 3 info 2016-02-24 01:09:57 -06:00
Prat
75787d777f Bump Kotlin version to 1.0. Remove unnecessary cast. 2016-02-15 20:42:10 -05:00
Joel Martin
33dec7afc2 Haxe: update README, fix macro eval, add conj.
Also:

- add ability to build all or one Haxe target.
- enable travis build for Haxe
2016-01-26 16:21:47 -06:00
rhysd
d3ce5b49ca Crystal: bump up crystal version to 0.10.0 2016-01-01 01:46:18 +09:00
Joel Martin
aa716df67c Clojure: *print-readably* for str. Use 1.8.0-RC4
- This is related to https://github.com/kanaka/mal/pull/134
- The str function now force *print-readably* to false. Otherwise str
  only prints the first level with non-readable printing, but every
  embedded structure after the first will have readable printing. The
  mal way is that str is non-readable all the way down.
- One remaining bug prior to Clojure 1.8.0 was improperly printing
  empty lists as the object name. This was fixed in
  828d82fb5b
  so change the project.clj to require Clojure 1.8.0-RC4 so that all
  string tests pass.
2015-12-17 16:14:43 -06:00
Dov Murik
854cf2a6ba Makefile: add REPL invocation rules 2015-12-14 08:50:27 -05:00
Sean Lee
e5737b082f quoted all make args in documentation for zsh compatibility 2015-12-09 14:49:15 -05:00
Dov Murik
f82cb96552 D implementation 2015-12-02 15:53:02 -05:00
Dov Murik
54d9903c0c Tcl implementation 2015-11-09 22:15:15 -05:00
John Benediktsson
199b1ce7b2 factor: update code.
* Works on soon-to-be-released 0.98 (triple quote strings removed)
* 50% more iterations per second on perf3.mal
* Removed 'src' directory, use 'factor' as the root
* Using 'mal' namespace for core, reader, printer, malenv, types
* Fixed issue with "empty" readline input (should be ignored and wasn't)
* Tried to simplify some of the code
2015-10-28 16:20:59 -07:00
Javier Fernandez-Ivern
105c46f181 Updated from master, solved conflicts 2015-10-26 23:14:04 -05:00
Javier Fernandez-Ivern
c57f1cbb96 Merge remote-tracking branch 'kanaka/master' into kotlin 2015-10-26 20:27:42 -05:00
Javier Fernandez-Ivern
4121b4ee84 Implemented step 6 (files and eval) 2015-10-25 00:22:15 -05:00
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
4e8d7c2816 Travis: fixed rust, re-activate other impls 2015-10-09 14:38:02 -05:00
rhysd
624b7bc681 Crystal: Fix missing method error for Crystal 0.8.0 2015-10-09 02:25:17 +09:00
Joel Martin
f9e6bb80ea README: Add travis build status icon. 2015-10-05 21:14:59 -05:00
Keith Rollin
4c58cd4e59 Fix typos in README.md 2015-09-21 21:29:50 -07:00
Keith Rollin
e31349f6a3 State new Xcode/Swift requirements in README 2015-09-21 21:28:38 -07:00
ekmartin
df2ca97b82 Update Elixir build method 2015-09-10 22:10:40 +02:00
Joel Martin
9200af934a Merge pull request #81 from ekmartin/elixir
Add Elixir implementation
2015-09-09 22:26:32 -05:00
ekmartin
bb52697591 Update README/Makefile/Dockerfile 2015-09-10 01:47:55 +02:00
Joel Martin
390d582962 README: note Miutsuru kariya as GNU awk creator 2015-09-08 14:58:33 -05: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
88e934b696 README.md: correct alpha ordering. 2015-08-06 15:52:42 -05:00
Joel Martin
3858f4e6c9 README.md count to 38. JS and ES6 build fixes. 2015-08-06 15:47:39 -05:00
Peter Stephens
206a16577c fsharp: Tweaked README.md blurb for F#. 2015-07-05 21:47:59 -05:00
Peter Stephens
6f78381fca fsharp: Added F# to the README.md 2015-07-05 21:45:13 -05:00
Joel Martin
23e38cd2cc README: add RPython and bump count to 36. 2015-06-11 10:01:16 -05:00
Joel Martin
5a9cda80b3 README: consistent alpha ordering of impls. 2015-06-06 09:51:43 -05:00
Joel Martin
6427adea2d Fix formatting. 2015-06-06 09:45:17 -05:00
Joel Martin
6c4dede114 Crystal: update impl count to 35. Expand desc/credit. 2015-06-03 12:53:20 -05:00
rhysd
58b84dd5ca crystal: Prepare to implement with Crystal 2015-06-03 02:26:58 +09:00
Joel Martin
7ab0f63e30 README: add Groovy info. Bump count to 34. 2015-05-19 11:07:23 -07:00
def
de69b63902 Use Nim 0.11.0 2015-04-30 17:51:20 +02:00
def
3faa513e83 Make Nim implementation a bit nicer
- Use re from standard library instead of nre
- Allow make -j4
- Rebuild binaries after source changed
2015-04-09 19:09:55 +02:00
Keith Rollin
1c76df7dc6 Convert to Swift 1.2:
* Change "Array" to "ArraySlice"
* Change "as" keyword to "as!"
* Use count(str.utf16) rather than str.utf16count)
* Add "combine:" parameter label to call to slice.reduce
2015-04-08 14:38:22 -07:00
Joel Martin
65f62aefaf README: make NalaGinrut user name into a link. 2015-04-06 15:24:21 -05:00
Joel Martin
7c6882f2a5 README: update count to 33 with Guile. 2015-04-06 15:23:20 -05:00
Joel Martin
9f21caf388 Merge pull request #56 from NalaGinrut/master
Added GNU Guile implementation
2015-04-06 15:18:50 -05:00
Joel Martin
425ef3d7d3 README: expand Erlang instructions. 2015-04-06 09:54:48 -05: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
52f9b50949 update README 2015-04-04 04:13:34 +08:00
Nala Ginrut
690f360d98 update README.md 2015-04-04 02:43:16 +08:00
Joel Martin
0fe47e8839 README: update count to 31, note Factor version. 2015-04-02 17:36:16 -05:00
Jordan Lewis
44c8a5245c factor: typo in README 2015-04-02 17:50:04 -04:00
Jordan Lewis
5a53c6432e Add factor instructions to readme 2015-04-01 15:55:56 -04:00
Joel Martin
393817926c README: update with Julia. 2015-04-01 09:47:29 -05:00
Joel Martin
a848d78396 README: add names/links of implementation creators. 2015-03-28 11:48:11 -05:00
Joel Martin
73fc93661a README: add C++ instructions and bump count to 29. 2015-03-28 11:41:16 -05:00
Joel Martin
bd62ff74cf guide: most of step 9 and start step A. 2015-03-25 20:53:53 -06:00
Joel Martin
8b142f0828 Swift: lang cnt to 28, note XCode, skip in docker.
- Update the README to 28 languages.
- Note that Swift impl currently requires XCode/OS X :-(
- Add Swift to skip list in Dockerfile.
2015-03-24 09:29:53 -06:00
Keith Rollin
2539e6af82 Initial Swift implementation. 2015-03-23 01:23:27 -07:00
Joel Martin
144f2b6aec README: link to FAQ and mention #mal (freenode). 2015-03-15 15:41:11 -05:00
Vincent St-Amour
3796240a60 Fix extension for Racket in README. 2015-03-15 13:01:50 -04:00
Joel Martin
753635673d README: add docker test environment usage info. 2015-03-12 17:29:34 -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
Joel Martin
bd08422d33 README: remove gratuitous parens. 2015-03-07 23:56:00 -06:00
Joel Martin
9106a221b8 README: update Rust version. 2015-03-05 13:40:15 -06:00
Alex Crichton
bbeb1b87c2 Update Rust code to the current Rust nightly
Lots of changes! Hopefully everything is still semantically equivalent (tests
still pass)
2015-03-05 00:40:57 -08:00
David Fontenot
274250fb10 Fixed implementation typo 2015-03-04 16:45:04 -08: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
b52c54b9ed README: missing end paren. 2015-03-02 17:59:41 -06:00
Joel Martin
294aba2c43 README: add more testing info.
Fix stats target for matlab.
2015-03-02 17:57:45 -06:00
Joel Martin
478fd9ce40 miniMAL: use npm published miniMAL. 2015-03-02 13:20:55 -06:00
Joel Martin
f2a758cb13 Merge branch 'ruby1.9' of https://github.com/elektronaut/mal into elektronaut-ruby1.9 2015-02-28 11:30:45 -06:00
Joel Martin
757397e6ed Merge pull request #15 from joelpickup/master
grammar fix
2015-02-28 11:27:33 -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
joelpickup
2769615752 grammar fix 2015-02-28 13:48:13 +00:00
Inge Jørgensen
107d969497 Ruby: Updated for Ruby 1.9+ 2015-02-28 00:36:27 +01:00
Joel Martin
1218ce98a4 README: add miniMAL. 2015-02-25 00:27:37 -06:00
Chouser
9603289087 forth: Update README 2015-02-21 13:22:44 -05:00
Joel Martin
8a9d0a8a41 matlab: add to README. 24th implementation! 2015-02-10 12:15:24 -06:00
Joel Martin
cbcf8a6308 README: update count to 23 to reflect OCaml addition. 2015-01-30 12:10:08 -06:00
Chouser
bc6448bce9 OCaml: add to README.md 2015-01-30 12:54:55 -05:00
Joel Martin
0f4ca9d1de Draft guide and architecture diagrams. 2015-01-29 23:40:10 -06: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
fd888612ca Move template to top level. Add license.
Also, cleanup TODO a bit.
2015-01-08 22:56:12 -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
5400d4bf5e Haskell: add error handling and try*/catch*.
Achieve self-hosting!
2015-01-09 16:16:54 -06:00
Joel Martin
2988d38e84 Haskell: add step7 and 8. 2015-01-09 16:16:53 -06:00
Joel Martin
b76aa73bc7 Haskell: steps 0-3 2015-01-09 16:16:52 -06:00
Joel Martin
a816262a05 Scala: refactor collections with metadata.
Convert numeric to Long. Add time-ms.

Add Makefile for stats targets.
2015-01-09 16:16:51 -06:00
Joel Martin
821930dbd9 Scala: all steps 0-9 but no metadata. 2015-01-09 16:16:51 -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
9b3362e86a R: add time-ms. Readline history. Misc cleanups. 2015-01-09 16:16:45 -06:00
Alan Dipert
8d8679f20b tiny typo fix 2015-01-08 12:47:14 -05:00
Joel Martin
111dbaf1ac rust: update README. Remove exp.rs compilation. 2015-01-08 10:56:10 -06:00
Joel Martin
abdd56ebc0 Rust: step0_repl and step1_read_print 2015-01-06 21:58:35 -06:00