1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
Commit Graph

66 Commits

Author SHA1 Message Date
Vasilij Schneidermann
e91c55c2b6 Fix unescaping in chuck, common-lisp, gst, guile, python 2017-09-28 07:40:47 -05:00
Iqbal Ansari
9f558de9ab Compile guile files before running them 2016-09-20 17:55:29 +05:30
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
81eabb9986 guile: Fix crash/exception on literal empty list
Issue #190
2016-03-30 09:29:00 -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
Dov Murik
4e6ae3b787 guile: add seq and string?
Issue #166
2016-02-15 13:41:39 -05:00
Dov Murik
7504874345 factor, go, guile, miniMAL, ps: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -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
dcd1519937 guile: modify step6 (and later) to handle atoms 2016-01-06 14:33:56 +02:00
Dov Murik
3c1b95d2b3 guile: use readable/not-readable when printing hash-maps 2015-12-17 22:01:33 +02:00
Dov Murik
d5995c72a4 guile: fix equality of hash-maps and lists/vectors
As part of #116 and #123
2015-11-30 15:34:16 -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
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
Nala Ginrut
4b3eaa7436 guile: perf tests OK 2015-04-07 05:13:11 +08:00
Nala Ginrut
2f60d14c9c guile refixed *ARGV* 2015-04-07 03:49:33 +08:00
Nala Ginrut
1ad90e2b69 guile fixed *ARGV* issue 2015-04-07 02:54:12 +08:00
Nala Ginrut
2a80d367e3 guile: self-hosting works 2015-04-07 02:45:40 +08:00
Nala Ginrut
a6e59cf38f guile: refix _apply 2015-04-06 16:38:01 +08:00
Nala Ginrut
10bc1bceb0 guile: fixed _apply 2015-04-06 16:20:10 +08:00
Nala Ginrut
8e9a0b726a fixed 'not' 2015-04-06 05:20:11 +08:00
Nala Ginrut
1c90c5065e fixed contain? 2015-04-06 05:08:48 +08:00
Nala Ginrut
0d9fb576f6 added immutable feature to avoid strange bug 2015-04-06 04:27:47 +08:00
Nala Ginrut
9633243eaa guile: print host-language 2015-04-04 12:36:44 +08:00
Nala Ginrut
23a46945d2 guile fixed readline history bug 2015-04-04 12:35:49 +08:00
Nala Ginrut
94a0943ab4 guile: fixed readline bug 2015-04-04 12:26:48 +08:00
Nala Ginrut
c3b5dda753 guile: enable readline 2015-04-04 04:09:31 +08:00
Nala Ginrut
728ee8fe5e remove whitespace while reading 2015-04-04 04:09:08 +08:00
Nala Ginrut
101fe65223 guile: fixed stepA with new tests 2015-04-04 03:09:24 +08:00
Nala Ginrut
9f3c099543 guile done 2015-04-04 02:27:19 +08:00
Nala Ginrut
9a148cff5f fixed step9 2015-04-03 23:10:04 +08:00
Nala Ginrut
a1b5b9243c fixed function/macro printing error 2015-04-03 22:55:07 +08:00
Nala Ginrut
98cd78e468 guile step9 works 2015-04-03 18:45:15 +08:00
Nala Ginrut
f33a3d5840 fixe guile step1~step7 for handling blank line properly 2015-04-03 02:39:35 +08:00
Nala Ginrut
e658ffd25a guile step8 works 2015-04-03 02:39:02 +08:00
Nala Ginrut
ecba6e97ce fixed step3~7 with better env ref 2015-04-02 03:05:05 +08:00
Nala Ginrut
1288d9be9b fixed step2~4 with correct env ref 2015-04-02 02:53:38 +08:00
Nala Ginrut
3a59f95b27 fixed step5~7 with correct env ref 2015-04-02 02:50:52 +08:00
Nala Ginrut
12727406f7 fixed step7 2015-04-02 01:39:20 +08:00
Nala Ginrut
5835f45b5f guile step7 works 2015-04-01 01:41:58 +08: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
Nala Ginrut
dc6561040d guile step4 works 2015-03-31 11:53:37 +08:00
Nala Ginrut
be17d0a6d9 added guile step4 2015-03-31 02:34:40 +08:00
Nala Ginrut
f76227709d fixed func calling eval 2015-03-31 02:34:23 +08:00
Nala Ginrut
b40c62626e added some stuffs 2015-03-31 02:32:56 +08:00