Nala Ginrut [Thu, 19 Mar 2015 08:18:49 +0000 (16:18 +0800)]
Merge branch 'master' of github.com:kanaka/mal into guile
Nala Ginrut [Thu, 19 Mar 2015 08:18:37 +0000 (16:18 +0800)]
add Guile implementation to Makefile
Joel Martin [Thu, 19 Mar 2015 04:57:52 +0000 (23:57 -0500)]
Perl: still seems to need --raw in some situations.
Joel Martin [Thu, 19 Mar 2015 04:51:14 +0000 (23:51 -0500)]
runtest: set INPUTRC to /dev/null
- try and avoid any strange readline init script settings.
Joel Martin [Wed, 18 Mar 2015 19:51:32 +0000 (14:51 -0500)]
Dockerfile: make Nim build one layer.
Save couple hundred MB or so.
Joel Martin [Wed, 18 Mar 2015 18:08:08 +0000 (13:08 -0500)]
runtest: set pty size to fix readline of long lines.
- Also, add a long line test to step0 tests.
- Fix java step0 arg parsing.
- Fix postscript long line reads (larger buffer)
- Add mal step0_repl
Joel Martin [Wed, 18 Mar 2015 14:01:01 +0000 (09:01 -0500)]
java,lua,perl: with TERM=dumb, --raw not needed
- Only mono based implementations (C#, VB) still need this.
Joel Martin [Wed, 18 Mar 2015 13:47:01 +0000 (08:47 -0500)]
runtest: set TERM=dumb, remove --mono mode
Joel Martin [Wed, 18 Mar 2015 13:12:19 +0000 (08:12 -0500)]
tests: move reorder tests to better match guide.
Joel Martin [Tue, 17 Mar 2015 15:29:39 +0000 (10:29 -0500)]
FAQ: add question anchors.
Joel Martin [Tue, 17 Mar 2015 00:57:15 +0000 (19:57 -0500)]
Merge pull request #45 from sdt/typofix-perl-clone
Test case & fix for typo in Perl _clone implementation
Stephen Thirlwall [Tue, 17 Mar 2015 00:11:38 +0000 (11:11 +1100)]
Fix typo in perl _clone()
I stumbled over this cun-t-paste error in the perl implementation.
Stephen Thirlwall [Tue, 17 Mar 2015 00:10:39 +0000 (11:10 +1100)]
Add test that (with-meta X ...) returns an X
Joel Martin [Mon, 16 Mar 2015 14:51:21 +0000 (09:51 -0500)]
Merge pull request #44 from sdt/step9-typo-fix
Remove extra ) from step9 test snippet
Joel Martin [Mon, 16 Mar 2015 14:50:47 +0000 (09:50 -0500)]
Merge pull request #43 from sdt/step9-apply-user-fn-test
Step 9 apply tests test user fns as well as core
Stephen Thirlwall [Mon, 16 Mar 2015 05:55:34 +0000 (16:55 +1100)]
Remove extra ) from step9 test snippet
My reader complains if there is extra input after the top-level
read_form, so this test was inadvertently failing for me.
Stephen Thirlwall [Mon, 16 Mar 2015 05:30:56 +0000 (16:30 +1100)]
Step 9 apply tests test user fns as well as core
I had a bug in my apply core function. It worked for core functions, but
not for user-defined functions.
This bug escaped direct testing, but caused problems in self-host
testing.
Here's a couple of simple test cases that catch those errors.
Joel Martin [Sun, 15 Mar 2015 20:47:23 +0000 (15:47 -0500)]
FAQ: minor cleanup/grammar.
Joel Martin [Sun, 15 Mar 2015 20:41:11 +0000 (15:41 -0500)]
README: link to FAQ and mention #mal (freenode).
Joel Martin [Sun, 15 Mar 2015 20:35:54 +0000 (15:35 -0500)]
FAQ: mal history and new impl. merge guidelines.
Joel Martin [Sun, 15 Mar 2015 17:40:13 +0000 (12:40 -0500)]
FAQ: shorter title.
Joel Martin [Sun, 15 Mar 2015 17:37:33 +0000 (12:37 -0500)]
Add FAQ: a couple questions that have come up.
Joel Martin [Sun, 15 Mar 2015 17:33:13 +0000 (12:33 -0500)]
Merge pull request #42 from stamourv/master
Fix extension for Racket in README.
Vincent St-Amour [Sun, 15 Mar 2015 17:01:50 +0000 (13:01 -0400)]
Fix extension for Racket in README.
Joel Martin [Sun, 15 Mar 2015 16:20:05 +0000 (11:20 -0500)]
guide: clarify eval function and ARGV.
Joel Martin [Sun, 15 Mar 2015 15:52:59 +0000 (10:52 -0500)]
runtest.py: Ouput current buffer if keyboard interrupt.
Suggestion on https://github.com/kanaka/mal/issues/40#issuecomment-
81015115
by https://github.com/boxed
Joel Martin [Sat, 14 Mar 2015 22:37:54 +0000 (17:37 -0500)]
guide: clarify usage of eval_ast in do form.
Joel Martin [Sat, 14 Mar 2015 22:34:49 +0000 (17:34 -0500)]
guide clarifications, but order for step5 tests.
Joel Martin [Sat, 14 Mar 2015 22:14:32 +0000 (17:14 -0500)]
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.
Joel Martin [Sat, 14 Mar 2015 16:58:59 +0000 (11:58 -0500)]
Merge pull request #41 from epylar/add-outer-tests-step-3
Add outer tests to step3_env.mal
Gavin Lewis [Sat, 14 Mar 2015 15:49:12 +0000 (08:49 -0700)]
Add outer tests to step3_env.mal
Joel Martin [Fri, 13 Mar 2015 02:49:58 +0000 (21:49 -0500)]
tests: add multilevel assoc test.
Joel Martin [Thu, 12 Mar 2015 22:41:55 +0000 (17:41 -0500)]
docker: build script executable. Skip matlab automatically.
Joel Martin [Thu, 12 Mar 2015 22:29:34 +0000 (17:29 -0500)]
README: add docker test environment usage info.
Joel Martin [Thu, 12 Mar 2015 03:22:35 +0000 (22:22 -0500)]
Tests: add testing Dockerfile. Impl fixes.
- tests/docker/Dockerfile: specifies full docker image containing all
tools/languages (except matlab).
- tests/docker-build.sh: build above image.
- tests/docker-run.sh: launch above image.
Example: ./tests/docker-run.sh make test^js^step2
- Various fixes across multiple languages:
- Unicode fixes for bash and R on Ubuntu Utopic
- readline history fixes for when ~/.mal-history is not available
or readable/writable. No fatal errors.
- fixes to work with perl 5.20 (and still perl 5.18)
Joel Martin [Thu, 12 Mar 2015 03:08:21 +0000 (22:08 -0500)]
Misc updates to TODO, guide and README.
- Also, add SKIP_IMPLS option to top-level Makefile to ignore a list
of implementations. Particularly useful for excluding licensed
matlab when running tests on system without it (e.g. within
container).
Joel Martin [Thu, 12 Mar 2015 02:57:12 +0000 (21:57 -0500)]
tests: add step0_repl.mal test missed earlier.
Joel Martin [Tue, 10 Mar 2015 18:30:14 +0000 (13:30 -0500)]
runtest.py: split --no-pty from --mono
Joel Martin [Tue, 10 Mar 2015 15:18:06 +0000 (10:18 -0500)]
Merge pull request #35 from vi/fix_perl_hostlanguage_value
Fix *host-language* in Perl
Joel Martin [Tue, 10 Mar 2015 15:17:49 +0000 (10:17 -0500)]
Merge pull request #38 from steveno/steveno-patch-1-1
Correct typo
Joel Martin [Tue, 10 Mar 2015 15:17:29 +0000 (10:17 -0500)]
Merge pull request #37 from steveno/patch-1
Correct typo
Steven Oliver [Tue, 10 Mar 2015 12:18:01 +0000 (08:18 -0400)]
Update types.cs
Steven Oliver [Tue, 10 Mar 2015 12:15:33 +0000 (08:15 -0400)]
Correct typo
Vitaly _Vi Shukela [Tue, 10 Mar 2015 00:49:23 +0000 (03:49 +0300)]
Fix *host-language* in Perl
Joel Martin [Mon, 9 Mar 2015 21:17:12 +0000 (16:17 -0500)]
guide: fix typo and unfinished sentence in step 4.
Joel Martin [Mon, 9 Mar 2015 19:19:44 +0000 (14:19 -0500)]
Rename LICENSE file so it's picked up by github.
Joel Martin [Mon, 9 Mar 2015 04:58:29 +0000 (23:58 -0500)]
Merge pull request #34 from microamp/guide-wrong-file
guide: incorrect filename fixed
james sangho nah [Sun, 8 Mar 2015 09:43:27 +0000 (22:43 +1300)]
guide: step2_env.qx -> step3_env.qx
Joel Martin [Sun, 8 Mar 2015 05:56:00 +0000 (23:56 -0600)]
README: remove gratuitous parens.
Joel Martin [Sat, 7 Mar 2015 21:59:52 +0000 (15:59 -0600)]
guide: minor cleanup of "let*" section.
Joel Martin [Sat, 7 Mar 2015 21:24:22 +0000 (15:24 -0600)]
guide: typo.
Joel Martin [Sat, 7 Mar 2015 15:06:00 +0000 (09:06 -0600)]
guide: change optional section to deferrable.
- Clarify that this is not the same class as optional tests.
- Also, add deferrable not about adding the original function to the
value return by `fn*` in step 5. Fixes https://github.com/kanaka/mal/issues/27
Joel Martin [Sat, 7 Mar 2015 15:04:07 +0000 (09:04 -0600)]
All step0: add test, fix bugs, remove step0 eval.
Joel Martin [Sat, 7 Mar 2015 14:59:03 +0000 (08:59 -0600)]
Merge pull request #33 from microamp/typos
typos
james sangho nah [Sat, 7 Mar 2015 03:42:18 +0000 (16:42 +1300)]
typos fixed
Joel Martin [Fri, 6 Mar 2015 22:13:50 +0000 (16:13 -0600)]
Merge pull request #31 from microamp/py3
Compatibility with Python 3
Joel Martin [Fri, 6 Mar 2015 22:09:05 +0000 (16:09 -0600)]
Merge pull request #32 from nacmartin/patch-1
Removed extra parenthesis in tests for step5
Nacho Martín [Fri, 6 Mar 2015 21:43:59 +0000 (22:43 +0100)]
Removed extra parenthesis in tests for step5
Hi there, just fixing an extra parenthesis.
PS: This thing is very addictive :)
james sangho nah [Fri, 6 Mar 2015 20:32:23 +0000 (09:32 +1300)]
compatible with python 3
Joel Martin [Fri, 6 Mar 2015 13:03:41 +0000 (07:03 -0600)]
tests: fix long line error when self-hosted.
Joel Martin [Fri, 6 Mar 2015 05:22:56 +0000 (23:22 -0600)]
Revert "Revert "Replace `pcre` with Rust-implemented regex crate (based on RE2).""
This reverts commit
30794b71110f6c3cbd8f446de6acab3954f6555c.
Joel Martin [Fri, 6 Mar 2015 05:15:16 +0000 (23:15 -0600)]
Merge pull request #29 from kanaka/revert-28-master
Revert "Replace `pcre` with Rust-implemented regex crate (based on RE2)....
Joel Martin [Fri, 6 Mar 2015 05:14:56 +0000 (23:14 -0600)]
Revert "Replace `pcre` with Rust-implemented regex crate (based on RE2)."
Joel Martin [Fri, 6 Mar 2015 05:09:34 +0000 (23:09 -0600)]
Merge pull request #28 from BurntSushi/master
Replace `pcre` with Rust-implemented regex crate (based on RE2).
Andrew Gallant [Fri, 6 Mar 2015 01:01:29 +0000 (20:01 -0500)]
Replace `pcre` with Rust-implemented regex crate (based on RE2).
Joel Martin [Thu, 5 Mar 2015 19:40:15 +0000 (13:40 -0600)]
README: update Rust version.
Joel Martin [Thu, 5 Mar 2015 19:15:12 +0000 (13:15 -0600)]
Rust: apply improvements in stepA to other steps.
Joel Martin [Thu, 5 Mar 2015 19:07:30 +0000 (13:07 -0600)]
Merge pull request #26 from alexcrichton/update
Update Rust code to the current Rust nightly
Alex Crichton [Thu, 5 Mar 2015 17:46:51 +0000 (09:46 -0800)]
Fix a bad copy/paste apparently
Joel Martin [Thu, 5 Mar 2015 17:25:26 +0000 (11:25 -0600)]
tests: add macro-in-macro test.
E.g.: (or (or false 4)) -> 4
Alex Crichton [Thu, 5 Mar 2015 08:22:43 +0000 (00:22 -0800)]
Update Rust code to the current Rust nightly
Lots of changes! Hopefully everything is still semantically equivalent (tests
still pass)
Joel Martin [Thu, 5 Mar 2015 02:35:22 +0000 (20:35 -0600)]
Merge pull request #25 from hellyeah/master
Fixed implementation typo
David Fontenot [Thu, 5 Mar 2015 00:45:04 +0000 (16:45 -0800)]
Fixed implementation typo
Joel Martin [Wed, 4 Mar 2015 17:25:21 +0000 (11:25 -0600)]
Rust: build with --release. 10X performance boost!
Joel Martin [Wed, 4 Mar 2015 16:29:46 +0000 (10:29 -0600)]
Merge pull request #12 from tebeka/master
Works when ~/.mal-history does not exist
Joel Martin [Wed, 4 Mar 2015 14:48:52 +0000 (08:48 -0600)]
Merge pull request #21 from def-/master
Fix and clean up Nim implementation
def [Wed, 4 Mar 2015 13:12:19 +0000 (14:12 +0100)]
Fix and clean up Nim implementation
Joel Martin [Wed, 4 Mar 2015 05:14:53 +0000 (23:14 -0600)]
Nim: rename stepA_interop to stepA_mal
Joel Martin [Wed, 4 Mar 2015 04:46:09 +0000 (22:46 -0600)]
Merge pull request #20 from def-/master
Add Nim
def [Wed, 4 Mar 2015 03:17:43 +0000 (04:17 +0100)]
Add instructions and makefile for Nim
Joel Martin [Wed, 4 Mar 2015 02:45:24 +0000 (20:45 -0600)]
Integrate feedback from github.com/boxed
https://github.com/kanaka/mal/issues/19
Joel Martin [Tue, 3 Mar 2015 03:30:10 +0000 (21:30 -0600)]
process/guide.md: add some step8 wrapup text.
Joel Martin [Mon, 2 Mar 2015 23:59:41 +0000 (17:59 -0600)]
README: missing end paren.
Joel Martin [Mon, 2 Mar 2015 23:57:45 +0000 (17:57 -0600)]
README: add more testing info.
Fix stats target for matlab.
Joel Martin [Mon, 2 Mar 2015 23:36:09 +0000 (17:36 -0600)]
runtest.py: cleanup all grandchildren too.
Launch Popen with process group and kill that instead. Use atexit to
register cleanup function rather than direct calls.
Joel Martin [Mon, 2 Mar 2015 19:46:30 +0000 (13:46 -0600)]
Various: stepA test fixes/ignores.
Joel Martin [Mon, 2 Mar 2015 19:41:49 +0000 (13:41 -0600)]
runtest.py: cleanup and rename --redirect to --mono
Joel Martin [Mon, 2 Mar 2015 19:41:27 +0000 (13:41 -0600)]
ocaml: fix empty? on vectors.
Joel Martin [Mon, 2 Mar 2015 19:20:55 +0000 (13:20 -0600)]
miniMAL: use npm published miniMAL.
Joel Martin [Mon, 2 Mar 2015 19:04:44 +0000 (13:04 -0600)]
matlab: move Reader.m to +types/Reader.m
Fixes https://github.com/kanaka/mal/issues/18 for case insensitive
file-systems.
Joel Martin [Mon, 2 Mar 2015 17:04:46 +0000 (11:04 -0600)]
Add link to syntax-across-languages
Thanks to https://news.ycombinator.com/user?id=klibertp for
suggestion.
def [Sun, 1 Mar 2015 20:46:19 +0000 (21:46 +0100)]
Nim: stepA
Joel Martin [Mon, 2 Mar 2015 06:23:58 +0000 (00:23 -0600)]
runtest.py: fix C# and VB tests.
It is an ugly fix, but basically, use regular Popen (without pty) when
using mono, and do hardcoded echo of the commands when they are
sent/written. It could be worse I suppose...
Joel Martin [Mon, 2 Mar 2015 05:41:32 +0000 (23:41 -0600)]
runtest.py: fix cleanup to use kill.
Still doesn't work with C# and VB.
Joel Martin [Sun, 1 Mar 2015 21:48:40 +0000 (15:48 -0600)]
guide: typo. Fix https://github.com/kanaka/mal/issues/17
def [Sun, 1 Mar 2015 16:39:15 +0000 (17:39 +0100)]
Nim: step9
def [Sun, 1 Mar 2015 05:08:18 +0000 (06:08 +0100)]
Nim: step8
Miki Tebeka [Sun, 1 Mar 2015 04:12:42 +0000 (06:12 +0200)]
Merge branch 'master' of https://github.com/kanaka/mal
Miki Tebeka [Sun, 1 Mar 2015 04:08:47 +0000 (06:08 +0200)]
readline works even when ~/.mal-history does not exist
def [Sun, 1 Mar 2015 03:57:38 +0000 (04:57 +0100)]
Nim: step7