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

49 Commits

Author SHA1 Message Date
Iqbal Ansari
3283e402d9 Compile clisp files before running
This step gives really good speedups, there still seem to be some
bottlenecks around evaluation which need attention
2016-08-28 22:26:35 +05:30
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
Joel Martin
8119e74483 plsql: Fix readline/output async. Improve arg mode. 2016-05-22 00:16:02 -06:00
Joel Martin
97df14cdaf plsql (Oracle PL/SQL): Copy plpgsql. Step0,1 basics. 2016-05-22 00:16:01 -06:00
Joel Martin
865b628fb9 ObjPascal: gitignore regexpr, mal_readline comments. 2016-03-14 10:59:05 -05:00
Joel Martin
b7550ec2ca ObjPascal: add Sorokin RegExpr.pas to repo.
Originally from http://RegExpStudio.com. Minor patch to run under FPC
(rather than Delphi on Windows).
2016-03-13 17:46:06 -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
57350ed73c Objective-C: steps 0-4, keywords, hash maps. 2016-03-06 01:24:16 -06:00
Joel Martin
9f097b78e0 .gitignore: Add typical scratch files/dirs. 2016-03-01 14:58:59 -06:00
Joel Martin
8e2d4a4ccb Dist/packaging for most impls. erlang, racket *ARGV* fixes.
Also in this commit:
- fix *ARGV* setup in erlang and racket.
- print startup message in fsharp

Dist/packaging support for most implementations and also generate
a */mal standalone app for most languages. The following
implementations still have ability to generate a single */mal
standalone application:
    - guile
    - julia
    - matlab (mkoctfile doesn't actually package up source files)
    - swift
    - vb (mkbundle error)

Also, the following are mostly packaged into a single file but need
some module dependencies
    - coffee: requires node_modules/ffi
    - es6: requires node_modules/ffi
    - js: requires node_modules/ffi
    - lua: module 'readline' not found
    - miniMAL: cannot find module '/mal/node_readline.js'
    - r: needs lib directory
2016-02-24 00:45:40 -06:00
Joel Martin
5245b079e1 Add dist targets to most implementations.
TODO: factor groovy guile julia matlab miniMAL swift
2016-02-24 00:33:20 -06:00
Joel Martin
b6dc3e37aa awk-es6, Makefile: dist ruiles 2016-02-24 00:33:20 -06:00
Joel Martin
32d0a1cfdb Haxe: add C++, JS, Neko targets. Make neko default. 2016-01-25 23:37:47 -06:00
Joel Martin
0840bfda6d .gitignore: ignore built erlang/mal. 2015-12-17 08:23:47 -06:00
Dov Murik
f82cb96552 D implementation 2015-12-02 15:53:02 -05:00
Joel Martin
6d3fc1be9a Fix hash-map equality in python and rpython. 2015-11-10 11:00:56 -06:00
Joel Martin
595376919b Misc cleanup for midwest.io presentation. 2015-11-07 15:31:25 -06:00
Joel Martin
f3c3903609 All: don't ignore */mal. Fixes #99 2015-10-30 09:31:38 -05:00
Javier Fernandez-Ivern
53c2ea70cf Implemented Kotlin MAL up to step 4 2015-10-24 22:10:53 -05:00
Abhishek Pandey
2acdd6dae7 Changed nim/nimcache to nim/nimcache* in .gitignore
A seperate nimcache folder was being generated for each step with the
name of the step appended to nimcache, like nimcache-step0_repl and so
was not being ignored by git.
This change will prevent git from tracking
any folder with name starting with nimcache in the nim directory.
2015-09-16 11:31:58 +05:30
ekmartin
51c2c1fea7 Add elixir step0 2015-09-03 00:08:25 +02: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
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
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
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
c9de2e82ed Tests: add testing Dockerfile. Impl fixes.
- tests/docker/Dockerfile: specifies full docker image containing all
  tools/languages (except matlab).
- tests/docker-build.sh: build above image.
- tests/docker-run.sh: launch above image.
    Example: ./tests/docker-run.sh make test^js^step2
- Various fixes across multiple languages:
    - Unicode fixes for bash and R on Ubuntu Utopic
    - readline history fixes for when ~/.mal-history is not available
      or readable/writable. No fatal errors.
    - fixes to work with perl 5.20 (and still perl 5.18)
2015-03-11 22:22:35 -05:00
Peter Stephens
b3eedddbe7 Merge branch 'master' into fsharp
Conflicts:
	Makefile
2015-03-04 19:29:33 -06:00
Joel Martin
478fd9ce40 miniMAL: use npm published miniMAL. 2015-03-02 13:20:55 -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
Peter Stephens
1c358979bf fsharp: Add step 0 2015-02-21 21:43:40 -06:00
Chouser
79ba3d6088 Ocaml: Finally fix race conditions in compilation
Also, use native compilation for everything except Ocaml REPL.
2015-01-30 12:54:42 -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
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
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
Joel Martin
06fef9b518 rust: add atom support. Fix vector params. 2015-01-06 21:59:00 -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
1771ab50b8 go: update README. Backport Func usage. 2015-01-06 21:57:02 -06: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
b56c49a12d C#: add step2_eval. 2014-04-06 22:38:26 -05:00
Joel Martin
afde2df05d C#: step0_repl using de Icaza's getline.cs 2014-04-06 19:23:28 -05:00
Joel Martin
3169070063 Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00