1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 02:27:10 +03:00
Commit Graph

118 Commits

Author SHA1 Message Date
Joel Martin
dd7a4f55f3 Test uncaught throw, catchless try* . Fix 46 impls.
Fixes made to: ada, c, chuck, clojure, coffee, common-lisp, cpp,
crystal, d, dart, elm, erlang, es6, factor, fsharp, gnu-smalltalk,
groovy, guile, haxe, hy, js, livescript, matlab, miniMAL, nasm, nim,
objc, objpascal, ocaml, perl, perl6, php, plsql, ps, python, r,
rpython, ruby, scheme, swift3, tcl, ts, vb, vimscript, wasm, yorick.

Catchless try* test is an optional test. Not all implementations
support catchless try* but a number were fixed so they at least don't
crash on catchless try*.
2018-12-12 14:18:26 -06:00
Joel Martin
2adfa11c98 ada, d, elixir, es6, factor, haxe: fix errors. 2018-11-30 14:57:45 -06:00
Dov Murik
968faaad7c ada: Add number?, fn?, macro? 2017-11-01 14:07:51 +00:00
Joel Martin
fba3aeb2fb Ada, C: fix step3 error handling.
New step3 tests were added during basic implementation that broke Ada
and C.
2016-11-01 10:44:49 -05:00
Chris M Moore
311cbfc03c Nicholas Boulenguez : Use Get_Line function instead of insisting on a maximum string size 2016-09-10 21:06:47 +01:00
Chris M Moore
ae2747024f Nicholas Boulenguez : Delegate Ada dependency handling to gnatmake 2016-09-10 20:45:06 +01:00
Chris M Moore
daa68f17c7 Nicholas Boulenguez : Replace all GNAT projects with -D gnatmake option 2016-09-10 18:35:10 +01:00
Joel Martin
976547740f ada: stats target.
Also, fix Crystal dockerfile build.
2016-07-29 10:49:13 -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
Chris M Moore
585e06e467 Ada: add () fix to step2 2016-04-03 16:16:02 +01:00
Chris M Moore
74a87bd570 Ada: empty list fix (issue #194) 2016-04-02 20:15:46 +01:00
Chris M Moore
6faafa00a4 Ada: update README.md and add prompt to stepA 2016-03-26 15:33:29 +00:00
Chris M Moore
9c38eb6d4b Ada: change *ARGV* and *host-language* to strings 2016-03-25 13:24:57 +00:00
Chris M Moore
7ae2311528 Ada: rework strings part 3 : strings are stored, printed and returned without the quotes 2016-03-25 12:55:27 +00:00
Chris M Moore
564a452500 Ada: rework strings part 2 : New_String_Mal_Type adds the quotes in 2016-03-25 12:19:22 +00:00
Chris M Moore
a249dff47b Ada: rework strings part 1 : Get_String returns the string minus the quotes 2016-03-25 11:33:33 +00:00
Chris M Moore
6d34a1c5c0 Ada: add Dockerfile 2016-03-25 10:58:13 +00:00
Chris M Moore
778942271c Ada: -O3 for some perf tests 2016-03-22 23:11:30 +00:00
Chris M Moore
365f02539b Ada: steps 3 and 4 do need eval_callback 2016-03-22 22:59:31 +00:00
Chris M Moore
988812a6f1 Ada: fix Makefile and re-write early steps to remove some dependencies 2016-03-22 22:30:39 +00:00
Chris M Moore
a8fc19aa64 Ada: remove lambda from eval_ast 2016-03-22 20:24:25 +00:00
Chris M Moore
453a89a0af Ada: fix script/command line mode 2016-03-22 20:16:35 +00:00
Chris M Moore
316d5bbd7c Ada: add seq 2016-03-22 07:40:44 +00:00
Chris M Moore
d2bb60d32e Ada: add string? 2016-03-20 22:29:39 +00:00
Chris M Moore
c2df4f1379 Ada: negative numbers in reader 2016-03-20 22:20:34 +00:00
Chris M Moore
d1967ba511 Ada: remove some unecessary use commands/variables 2016-03-20 22:19:26 +00:00
Chris M Moore
1c28e56028 Ada: remove unnecessary Env parameters 2016-03-20 21:08:28 +00:00
Chris M Moore
66bf826077 Ada: add time-ms 2016-03-19 23:05:19 +00:00
Chris M Moore
8083b5255f Ada: build in true, false, nil so hosted tests run unmodified ;) 2016-03-19 21:09:48 +00:00
Chris M Moore
9128585993 Ada: build in knowledge about true and false into reader 2016-03-19 00:05:38 +00:00
Chris M Moore
caa4fab9f4 Ada: one more textual mod in core.adb 2016-03-18 23:38:10 +00:00
Chris M Moore
c6b1e6e7a1 Ada: minor textual cleanup in core.adb 2016-03-18 23:27:21 +00:00
Chris M Moore
b5bad5eaa1 Ada: fix envs (remove Get_Current), apply (only last param is unpacked) and map (calls core.apply) 2016-03-18 15:34:10 +00:00
Chris M Moore
18e21187ba Ada: Move eval into the steps + rewrite eval along the way. 2016-03-15 08:05:20 +00:00
Chris M Moore
f049dc3ab6 Ada: ensure *ARGV* available to loaded file (self-hosting) 2016-03-06 23:17:05 +00:00
Chris M Moore
186f741bc1 Ada: fix infinite loop when evaling a vector (core.mal) 2016-03-06 23:14:34 +00:00
Chris M Moore
3428be48bc Ada: remove the file size limit 2016-03-05 18:24:13 +00:00
Chris M Moore
02c3208ae9 Ada: add readline 2016-03-03 22:25:46 +00:00
Chris M Moore
02840f7551 Ada: stepA fixes (with-meta not displayed, gensym fixed, reader with-meta now standard) 2016-03-02 22:05:00 +00:00
Chris M Moore
d241d1842e Ada: raise exceptions when index out of range for Nth (lists and vectors) 2016-03-01 21:56:54 +00:00
Chris M Moore
a74b420d53 Ada: add conj 2016-02-28 22:56:30 +00:00
Chris M Moore
8496c8bc1a Ada: add *host-language* symbol 2016-02-28 22:08:32 +00:00
Chris M Moore
078e59891d Ada: make quasiquote etc work for vectors 2016-02-28 22:07:43 +00:00
Chris M Moore
93031830b6 Ada: fix apply premature free and add = for hash_map 2016-02-28 21:45:38 +00:00
Chris M Moore
5660d35d73 Ada: fix first + rest when passed nil 2016-02-26 22:01:00 +00:00
Chris M Moore
0073c0a17b Ada: fix swap (functions and premature list deletion) 2016-02-26 00:01:41 +00:00
Chris M Moore
36b6dea532 Ada: add atom ops 2016-02-25 22:33:38 +00:00
Chris M Moore
51fa76337a Ada: rename Atom to Symbol and add a new Atom type (ya, doing it the hard way) 2016-02-22 22:22:56 +00:00
Chris M Moore
5929079b1a Ada: remove Unitary type. Its done in the reader now. 2016-02-21 23:33:16 +00:00
Chris M Moore
ee927d07f0 Rewrite reader (again). Should be able to get rid of Unitary now. 2016-02-21 23:12:48 +00:00