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

1352 Commits

Author SHA1 Message Date
Vasilij Schneidermann
916b30b98c Write a runner script
This script serves the following purposes:

- A --silent flag for testing purposes
- Support for @import comments (to work around no modules)
- Accessing extra arguments from CHUCK_ARGUMENTS
2016-04-25 14:20:39 +02:00
Vasilij Schneidermann
4abd73a692 Implement step 0 2016-04-24 16:18:01 +02:00
Joel Martin
4ca94ec93d Merge pull request #197 from dubek/postscript-interop
ps: Fix ps* interop
2016-03-31 10:19:51 -05:00
Dov Murik
7bc5e95366 ps: Fix ps* interop
* Simplify postscript code parsing by using the `cvx` (convert to
  executable) function.
* Tweak the test cases to match reality (returns list of stack operands,
  or nil if stack is empty after exec).
2016-03-30 16:38:45 -04:00
Joel Martin
eb671131a1 Merge pull request #196 from dubek/fix-regress-fail
Makefile: fail REGRESS=1 when earlier step fails
2016-03-30 10:01:33 -05:00
Dov Murik
d5221bcf04 Makefile: fail REGRESS=1 when earlier step fails
When running tests with REGRESS=1, the Makefile would not exit with
failure if an earlier step failed some tests.  Replacing ; with && in
the test rule fixed this behaviour to exit with failure exitcode on the
first regression failure.
2016-03-30 10:14:48 -04:00
Joel Martin
4ed0c2d0c1 Merge pull request #192 from joostkremers/guide
Several fixes to the guide
2016-03-28 10:56:00 -05:00
Joel Martin
914638021c ES6: fix *ARGV* to be symbol. 2016-03-27 16:45:20 -05:00
Joel Martin
7b458a6529 README: note Chris Moore created the Ada implementation. 2016-03-27 16:42:47 -05:00
Joel Martin
a04bfb67bc Merge pull request #191 from zmower/ada
An Ada implementation of mal
2016-03-27 16:38:18 -05:00
Chris M Moore
6faafa00a4 Ada: update README.md and add prompt to stepA 2016-03-26 15:33:29 +00:00
Joost Kremers
1c2eab905f Several fixes to the guide 2016-03-25 21:08:11 +01:00
Chris M Moore
c18917d528 Merge branch 'master' into ada 2016-03-25 16:15:54 +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
1606c35597 Ada: add ada to .travis.yml 2016-03-25 11:02:49 +00:00
Chris M Moore
6d34a1c5c0 Ada: add Dockerfile 2016-03-25 10:58:13 +00:00
Joel Martin
1c302e8c67 Merge pull request #189 from Wilfred/guide_subheading
Tweaking text in guide.
2016-03-24 21:11:44 -05:00
Wilfred Hughes
5c0526927a Tweaking text in guide.
Referring to the pseudocode in the process/ directory is important, but
it's easy to miss that detail when reading the guide for the first time.

Similarly, it's important to add a new Makefile in many cases, so
reformat to draw attention to that.
2016-03-24 21:49:00 +00:00
Joel Martin
c589fa779e Merge pull request #188 from dubek/guide-toc
process/guide.md: Add TOC; fix heading levels
2016-03-23 10:42:22 -05:00
Dov Murik
dc79144094 process/guide.md: Add TOC; fix heading levels 2016-03-22 23:41:10 -04: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
adc03a1a5f Update from master 2016-03-20 21:37:07 +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
Joel Martin
f2b067cbd8 miniMAL: increase test timeouts 2016-03-15 11:19:51 -05:00
Joel Martin
01f9230ad7 Merge pull request #186 from epylar/patch-1
Update ffi dep in js implementation
2016-03-15 09:52:51 -05:00
Chris M Moore
18e21187ba Ada: Move eval into the steps + rewrite eval along the way. 2016-03-15 08:05:20 +00:00
GL
db1f2b8d8f Update ffi dep in js implementation
The js dep won't compile cleanly without this bump because the old ffi version won't build properly 
(using latest Arch Linux as of Mar 14 2016, probably failing on other distros as well).  

ffi 2.0.0 builds cleanly.
2016-03-14 21:59:40 -07: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
eaa6ceb47f Update README test count. Update docs/TODO. 2016-03-14 22:57:33 -05:00
Joel Martin
ece28ddbd4 Clojure: make indent consistent across steps. 2016-03-14 22:45:46 -05:00
Joel Martin
7233afd114 rpython: update Dockerfile to pypy-4.0.1 2016-03-14 22:29:13 -05:00
Joel Martin
06bc1e41fb rust: fix make all to build step binaries. 2016-03-14 22:28:24 -05:00
Joel Martin
67136d8c41 js: fix readline with blank prompt. 2016-03-14 22:23:22 -05:00