1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
Commit Graph

41 Commits

Author SHA1 Message Date
Joel Martin
186471a32c miniMAL: bring over node_readline.js to fix build
- Node tries to find node_modules subdirectory (to load ffi
  from) in the target of the symlink. I.e. ../js/node_modules
2017-02-11 13:38:38 -06:00
Joel Martin
e5faf623bd miniMAL: restore ffi dep and build instructions. 2017-02-11 13:07:58 -06:00
Joel Martin
16d5b0c305 runtest: print errors before first prompt.
- Also, remove extraneous ffi module dep in miniMAL.
2017-02-11 12:54:34 -06:00
Joel Martin
b32495e94b miniMAL: update to using miniMAL 1.0.2
Also update miniMAL Dockerfile to xenial.
2017-02-10 23:02:30 -06: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
33783b0436 miniMAL: Fix exception on literal empty list
Issue #190
2016-03-28 15:13:54 -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
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
6791e640e1 haxe, matlab, miniMAL, python, rpython: add seq/string?
Issue #166.
2016-02-11 09:19:53 -06:00
Joel Martin
17946efbad Haxe, Julia, miniMAL: self-hosting fixes.
- Haxe: correctly set *ARGV*
- Julia: fix map function concatenation of results
- miniMAL: fix (= 'abc nil) and add test in step7 to catch it.
2016-02-05 13:27:30 -06:00
Dov Murik
7504874345 factor, go, guile, miniMAL, ps: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -05: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
bfa3dd3593 coffee, es6, js, mal, miniMAL: fix macro result evaluation
Issue #142
2016-01-25 21:22:21 -05:00
Dov Murik
48572759b7 Add gensym and clean or macro to stepA of 12 implementations (part 1)
* go
* guile
* js
* mal
* miniMAL
* ocaml
* ps
* python
* racket
* ruby
* tcl
* vimscript
2016-01-23 00:31:51 -05:00
Dov Murik
49994fc248 miniMAL: Fix exception in `(nil) 2015-12-28 23:06:36 +02:00
Joel Martin
78261adc04 miniMAL, perl: add native hash-map equality. 2015-11-18 15:39:46 -06: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
81c807c96a miniMAL: add install of ffi dep. 2015-10-09 23:11:47 -05:00
Joel Martin
c727d1c802 Travis: fix/activate miniMAL. Simplify .travis* 2015-10-09 22:45:48 -05:00
Joel Martin
0eb9fcb683 Travis: add ocaml, forth and miniMAL. 2015-10-06 13:28:11 -05:00
Joel Martin
10b07148ba All step0: add test, fix bugs, remove step0 eval. 2015-03-07 09:04:07 -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
Joel Martin
3fb3743ff4 miniMAL: add classOf and fix printing. 2015-02-25 23:01:16 -06:00
Joel Martin
8cfab77665 miniMAL: self-hosting! Add atoms. Fix malfunc.
- refactor malfunc to use objects like others.
2015-02-24 09:17:45 -06:00
Joel Martin
ad28cf3cb1 miniMAL: add metadata support. 2015-02-24 09:17:45 -06:00
Joel Martin
3204554652 miniMAL: keyword, vector and hash-map support. 2015-02-16 00:33:30 -06:00
Joel Martin
d90c784472 miniMAL: stepA. Comments. Add impl Makefile for stats. 2015-02-16 00:01:10 -06:00
Joel Martin
2774a15131 miniMAL: step9 2015-02-15 23:33:08 -06:00
Joel Martin
f618f6a11c miniMAL: step8. 2015-02-15 22:04:45 -06:00
Joel Martin
1981bf5766 miniMAL: step7 2015-02-15 20:46:19 -06:00
Joel Martin
9d8f029932 miniMAL: step6 2015-02-15 20:11:11 -06:00
Joel Martin
dc2c5b3d8f miniMAL: add step5. 2015-02-15 17:45:04 -06:00
Joel Martin
c5d302358e miniMAL: step4. 2015-02-15 16:34:55 -06:00
Joel Martin
7ebf5219e1 miniMAL: add step4 (without functions). 2015-02-24 09:17:42 -06:00
Joel Martin
defc6335a6 miniMAL: step3 2015-02-24 09:17:42 -06:00
Joel Martin
5351b94a47 miniMAL: step2 2015-02-11 22:31:39 -06:00
Joel Martin
c1fe72ae2b miniMAL: step1. 2015-02-11 21:56:47 -06:00