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

42 Commits

Author SHA1 Message Date
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
9f81ae17b0 go: Fix panic on literal empty list
Issue #190
2016-03-27 22:47:58 -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
5245b079e1 Add dist targets to most implementations.
TODO: factor groovy guile julia matlab miniMAL swift
2016-02-24 00:33:20 -06:00
Dov Murik
bb95e7a9a5 go: add seq and string?
Issue #166
2016-02-12 10:16:04 -05: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
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
0d629719f9 bash, c, go, lua, racket: fix macro result evaluation
Issue #142
2016-01-22 14:00:11 -05:00
Dov Murik
6c75df55da go: fix hash-map equality 2015-11-12 10:11:34 -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
6479984c9b Travis: add C, C#, Go, Perl, PHP, and Ruby. 2015-10-06 00:56:02 -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
Miki Tebeka
9fb199e2cb Merge branch 'master' of https://github.com/kanaka/mal 2015-03-01 06:12:42 +02:00
Miki Tebeka
49916f9402 readline works even when ~/.mal-history does not exist 2015-03-01 06:08:47 +02:00
Miki Tebeka
978af8a768 running "gofmt" on the code 2015-03-01 05:57:02 +02: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
b8ee29b22f All: add keywords.
Also, fix nth and count to match cloure.
2015-01-09 16:16:50 -06:00
Joel Martin
fb5c165838 go: add time-ms. Ruby: fix step9,A content. 2015-01-06 21:59:01 -06:00
Joel Martin
61a2c2a704 Go: add missing env.go 2015-01-06 21:57:24 -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
f2544a9467 go: add metadata and atoms. HashMap dedicated type.
HashMap needs a dedicated type now to be able to store the metadata.
2014-10-09 21:37:00 -05:00
Joel Martin
f2c9811fd8 go: add hash-map support. 2014-10-09 19:14:43 -05:00
Joel Martin
ad7e866ea1 go: add readline.go that wraps libreadline/libedit 2014-10-09 18:27:47 -05:00
Joel Martin
d667a1bb2e go: add stepA_more. try* and more core functions. 2014-10-09 18:05:30 -05:00
Joel Martin
82efc357ba go: add step8_macros 2014-10-06 23:53:51 -05:00
Joel Martin
aeabd2145f go: add step7_quote 2014-10-06 23:31:11 -05:00
Joel Martin
ad95503cea go: add step6_file 2014-10-06 22:27:28 -05: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
af8fdff41e go: add step4_if_fn_do 2014-10-06 20:36:23 -05:00
Joel Martin
9feb2c9527 go: add step3_env 2014-10-04 23:40:43 -05:00
Joel Martin
8b8afefc45 go: step2_eval vector/hash-map in eval_ast 2014-10-04 23:16:19 -05:00
Joel Martin
5caa8fb7e0 go: step2_eval basic functionality 2014-10-04 22:35:08 -05:00
Joel Martin
fcbda8d58a go: step1_read_print vectors and hash-maps 2014-10-04 22:16:57 -05:00
Joel Martin
70ea599b6e go: step1_read_print print working. 2014-10-04 21:49:26 -05:00
Joel Martin
45e1db6afb go: reading of atoms and lists. 2014-10-04 20:06:42 -05:00
Joel Martin
1ac751b20c step0_repl.go: strip newline from input. 2014-10-04 19:53:11 -05:00
Joel Martin
69b4abd6ef go: step0_repl 2014-10-04 18:34:26 -05:00