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

34 Commits

Author SHA1 Message Date
Joel Martin
4aa0ebdf47 Error on unterminated strings.
Add a step1 test to make sure that implementations are properly
throwing an error on unclosed strings.

Fix 47 implementations and update the guide to note the correct
behavior.
2019-01-25 16:16:06 -06:00
Dov Murik
9d7af55272 elixir, erlang, julia, kotlin: Add number?, fn?, macro? 2017-10-26 10:40:06 +00:00
Joel Martin
051685d1a2 Fix unescaping in julia and kotlin. 2017-09-28 07:40:47 -05: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
6f8a5d05fb julia: Fix exception on literal empty list
Issue #190
2016-03-30 09:18:38 -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
bcfd8b7020 Generic recursive rules for dist, stats, clean
Also add missing clean rules for julia and matlab and fix perl clean
rule.
2016-02-24 01:09:19 -06:00
Joel Martin
933eaa908f Julia: add seq, string? and conj.
Issue #166.
2016-02-15 15:59:57 -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
8b99c2685a c, julia: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -05:00
Dov Murik
f98e3ea939 julia: Pass function arguments as a mal list 2016-01-29 21:37:32 -05:00
Joel Martin
d5b81cc072 julia, matlab, r, rust, swift: fix macro result evaluation
Related to issue #142.
2016-01-26 14:16:20 -06:00
Dov Murik
29ba1fb6c0 Add gensym and clean or macro to stepA of 19 implementations (part 3)
* awk
* cpp
* cs
* es6
* factor
* fsharp
* groovy
* haskell
* java
* julia
* kotlin
* matlab
* php
* r
* rpython
* rust
* scala
* swift
* vb
2016-01-25 16:30:54 -05:00
Joel Martin
c4b23bf4f4 Julia: fix nested sequence equality. 2015-12-02 10:57:32 -06:00
Joel Martin
a0b63ee477 hash-map equality: bash, c, coffee, cs, es6, ...
- hash-map equality support for bash, c, coffee, cs, es6, java, js,
  julia, make, php.
- also, add another test to catch another hash-map in-equality: same
  keys, different values
2015-11-16 23:28:58 -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
8248463181 Julia: update to verion 0.4. Add time-ms. 2015-10-24 15:41:22 -05:00
Joel Martin
ecdbada174 Travis: add C++(cpp), factor and julia. 2015-10-06 18:28:46 -05:00
Joel Martin
7a20dbc805 Julia: missed Makefile for stats. 2015-03-31 23:12:25 -05:00
Joel Martin
7e0bb668cf Julia: self-hosting.
- fix meta and swap! functions and add missing tests
- fix eval_ast of hash-maps across all steps
2015-03-31 23:04:45 -05:00
Joel Martin
8511096262 Julia: step A. Add atoms and metadata.
- Refactor readline (not editline yet) into readline_mod.
- Ignore comments properly
2015-03-31 23:04:45 -05:00
Joel Martin
4430aab9fd Julia: Step 9, hash maps and keywords. 2015-03-31 23:04:44 -05:00
Joel Martin
2aa39ccd53 Julia: step 8 2015-03-31 23:04:44 -05:00
Joel Martin
e6fd6af238 Julia: step7.
- Also fix list core function.
2015-03-31 23:04:44 -05:00
Joel Martin
ae37bc9f80 Julia: step6 2015-03-31 23:04:43 -05:00
Joel Martin
421cdb5d4e Julia: step5 2015-03-31 23:04:43 -05:00
Joel Martin
3e60110d1b Julia: step4 2015-03-31 23:04:43 -05:00
Joel Martin
9dc47efa5f Julia: step3 2015-03-31 23:04:43 -05:00
Joel Martin
2991d6e30e Julia: add step2. 2015-03-31 23:04:42 -05:00
Joel Martin
a23e0cdb75 Julia: step 1 basics. 2015-03-31 23:04:42 -05:00
Joel Martin
fdf2b63160 Julia: step0 2015-03-31 23:04:42 -05:00