Joel Martin
8b142f0828
Swift: lang cnt to 28, note XCode, skip in docker.
...
- Update the README to 28 languages.
- Note that Swift impl currently requires XCode/OS X :-(
- Add Swift to skip list in Dockerfile.
2015-03-24 09:29:53 -06:00
Joel Martin
fbeb6f4b78
Merge pull request #49 from keith-rollin/swift
...
Initial Swift implementation.
2015-03-24 09:23:47 -06:00
Joel Martin
e37d9b4960
guide: step9 core functions.
2015-03-23 10:37:58 -06:00
Keith Rollin
2539e6af82
Initial Swift implementation.
2015-03-23 01:23:27 -07:00
Joel Martin
20c05e3561
racket: fix apply/vector
...
- re-order apply/vector tests into optional section.
2015-03-22 14:43:26 -05:00
Joel Martin
584cc3e170
Merge pull request #47 from sdt/step9-apply-vector-test
...
Step 9 test cases for apply on vectors
2015-03-22 14:27:45 -05:00
Stephen Thirlwall
3fcc9c8d01
Step 9 test cases for apply on vectors
2015-03-22 22:45:45 +11:00
Joel Martin
2345a3da8c
guide: expand step1 deferrables and some of step 9.
2015-03-20 17:30:56 -05:00
Joel Martin
d2f0f672f4
runtest.py: allow repeated form in output.
...
This should fix (or rather, workaround)
https://github.com/kanaka/mal/issues/30 where on OS X the input form
is occasionally echo'd twice for some reason.
2015-03-20 08:40:46 -05:00
Joel Martin
bf2cb97aaa
C: remove extraneous glib includes.
2015-03-20 08:35:53 -05:00
Joel Martin
78a2c11023
Merge pull request #46 from neutralevil/osx_c
...
C: fix compilation errors and warnings for the official toolchain of OSX...
2015-03-20 08:35:14 -05:00
Liu Bin
b81b2a7e8e
C: fix compilation errors and warnings for the official toolchain of OSX.
2015-03-20 17:38:22 +08:00
Joel Martin
b020aa3e77
runtest: exit when child process exits.
...
Fixes: https://github.com/kanaka/mal/issues/40
- Simplify exception handling by combining keyboard exception into
other exception handler. Print out output buffer on all exceptions.
2015-03-19 10:49:36 -05:00
Joel Martin
82acd3de8b
runtest: set PERL_RL=false, remove --raw.
...
Thanks to suggestion from Stephen Thirlwall
(99ec06dd23 (commitcomment-10278903)
)
2015-03-19 08:00:28 -05:00
Joel Martin
99ec06dd23
Perl: still seems to need --raw in some situations.
2015-03-18 23:57:52 -05:00
Joel Martin
92dcc81529
runtest: set INPUTRC to /dev/null
...
- try and avoid any strange readline init script settings.
2015-03-18 23:51:14 -05:00
Joel Martin
0afb3ee867
Dockerfile: make Nim build one layer.
...
Save couple hundred MB or so.
2015-03-18 14:51:32 -05:00
Joel Martin
b3c30da9fc
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
2015-03-18 13:08:08 -05:00
Joel Martin
798206accb
java,lua,perl: with TERM=dumb, --raw not needed
...
- Only mono based implementations (C#, VB) still need this.
2015-03-18 09:01:01 -05:00
Joel Martin
8caf621154
runtest: set TERM=dumb, remove --mono mode
2015-03-18 08:47:01 -05:00
Joel Martin
6b9eb18e01
tests: move reorder tests to better match guide.
2015-03-18 08:12:19 -05:00
Joel Martin
8d8ca1f079
FAQ: add question anchors.
2015-03-17 10:30:07 -05:00
Joel Martin
d10aeb1d13
Merge pull request #45 from sdt/typofix-perl-clone
...
Test case & fix for typo in Perl _clone implementation
2015-03-16 19:57:15 -05:00
Stephen Thirlwall
af59640b3c
Fix typo in perl _clone()
...
I stumbled over this cun-t-paste error in the perl implementation.
2015-03-17 11:14:13 +11:00
Stephen Thirlwall
ba53efc2b5
Add test that (with-meta X ...) returns an X
2015-03-17 11:14:13 +11:00
Joel Martin
11df60ad8c
Merge pull request #44 from sdt/step9-typo-fix
...
Remove extra ) from step9 test snippet
2015-03-16 09:51:21 -05:00
Joel Martin
e4c4b6b625
Merge pull request #43 from sdt/step9-apply-user-fn-test
...
Step 9 apply tests test user fns as well as core
2015-03-16 09:50:47 -05:00
Stephen Thirlwall
617bdb3552
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.
2015-03-16 16:55:34 +11:00
Stephen Thirlwall
58002e1bf3
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.
2015-03-16 16:49:28 +11:00
Joel Martin
1e66ee3f4e
FAQ: minor cleanup/grammar.
2015-03-15 15:47:23 -05:00
Joel Martin
144f2b6aec
README: link to FAQ and mention #mal (freenode).
2015-03-15 15:41:11 -05:00
Joel Martin
81f5db50ad
FAQ: mal history and new impl. merge guidelines.
2015-03-15 15:35:54 -05:00
Joel Martin
3cbd2ef7fa
FAQ: shorter title.
2015-03-15 12:40:13 -05:00
Joel Martin
263007a806
Add FAQ: a couple questions that have come up.
2015-03-15 12:39:11 -05:00
Joel Martin
ce5712b9b9
Merge pull request #42 from stamourv/master
...
Fix extension for Racket in README.
2015-03-15 12:33:13 -05:00
Vincent St-Amour
3796240a60
Fix extension for Racket in README.
2015-03-15 13:01:50 -04:00
Joel Martin
6fef8e58dd
guide: clarify eval function and ARGV.
2015-03-15 11:20:05 -05:00
Joel Martin
10034e8272
runtest.py: Ouput current buffer if keyboard interrupt.
...
Suggestion on https://github.com/kanaka/mal/issues/40#issuecomment-81015115
by https://github.com/boxed
2015-03-15 10:52:59 -05:00
Joel Martin
f558a0c8f1
guide: clarify usage of eval_ast in do form.
2015-03-14 17:37:54 -05:00
Joel Martin
4e7296f90a
guide clarifications, but order for step5 tests.
2015-03-14 17:34:49 -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
Joel Martin
ce5f8bed34
Merge pull request #41 from epylar/add-outer-tests-step-3
...
Add outer tests to step3_env.mal
2015-03-14 11:58:59 -05:00
Gavin Lewis
6f58a92605
Add outer tests to step3_env.mal
2015-03-14 08:53:20 -07:00
Joel Martin
86da00cc55
tests: add multilevel assoc test.
2015-03-12 21:49:58 -05:00
Joel Martin
4a55f10c42
docker: build script executable. Skip matlab automatically.
2015-03-12 17:41:55 -05:00
Joel Martin
753635673d
README: add docker test environment usage info.
2015-03-12 17:29:34 -05:00
Joel Martin
c9de2e82ed
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)
2015-03-11 22:22:35 -05:00
Joel Martin
8569b2af48
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).
2015-03-11 22:08:21 -05:00
Joel Martin
31ad43483a
tests: add step0_repl.mal test missed earlier.
2015-03-11 21:57:12 -05:00
Joel Martin
ab01be1898
runtest.py: split --no-pty from --mono
2015-03-10 13:30:56 -05:00