1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 18:48:12 +03:00
Commit Graph

449 Commits

Author SHA1 Message Date
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
Joel Martin
2bb7b341a5 Merge pull request #35 from vi/fix_perl_hostlanguage_value
Fix *host-language* in Perl
2015-03-10 10:18:06 -05:00
Joel Martin
0c4a306170 Merge pull request #38 from steveno/steveno-patch-1-1
Correct typo
2015-03-10 10:17:49 -05:00
Joel Martin
aafcc227a4 Merge pull request #37 from steveno/patch-1
Correct typo
2015-03-10 10:17:29 -05:00
Steven Oliver
f628ab687a Update types.cs 2015-03-10 08:18:01 -04:00
Steven Oliver
10f0bf4196 Correct typo 2015-03-10 08:15:33 -04:00
Vitaly _Vi Shukela
8cee6f3c7e
Fix *host-language* in Perl 2015-03-10 03:49:23 +03:00
Joel Martin
1380d8c176 guide: fix typo and unfinished sentence in step 4. 2015-03-09 16:17:12 -05:00
Joel Martin
d2f15f5e9e Rename LICENSE file so it's picked up by github. 2015-03-09 14:20:30 -05:00
Joel Martin
e7b5e72201 Merge pull request #34 from microamp/guide-wrong-file
guide: incorrect filename fixed
2015-03-08 23:58:29 -05:00
james sangho nah
169ddeb250 guide: step2_env.qx -> step3_env.qx 2015-03-08 22:43:27 +13:00
Joel Martin
bd08422d33 README: remove gratuitous parens. 2015-03-07 23:56:00 -06:00
Joel Martin
0a63c9f9db guide: minor cleanup of "let*" section. 2015-03-07 15:59:52 -06:00
Joel Martin
daa1cf3fe5 guide: typo. 2015-03-07 15:24:22 -06:00
Joel Martin
45a8b3ca5b 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
2015-03-07 09:07:13 -06:00
Joel Martin
10b07148ba All step0: add test, fix bugs, remove step0 eval. 2015-03-07 09:04:07 -06:00
Joel Martin
64574360c5 Merge pull request #33 from microamp/typos
typos
2015-03-07 08:59:03 -06:00
james sangho nah
2315fd53e1 typos fixed 2015-03-07 16:42:18 +13:00
Joel Martin
138901f99a Merge pull request #31 from microamp/py3
Compatibility with Python 3
2015-03-06 16:13:50 -06:00
Joel Martin
9ab77a16c0 Merge pull request #32 from nacmartin/patch-1
Removed extra parenthesis in tests for step5
2015-03-06 16:09:05 -06:00
Nacho Martín
a917237630 Removed extra parenthesis in tests for step5
Hi there, just fixing an extra parenthesis. 

PS: This thing is very addictive :)
2015-03-06 22:43:59 +01:00
james sangho nah
8e4628da2c compatible with python 3 2015-03-07 09:32:23 +13:00
Joel Martin
e27782ea09 tests: fix long line error when self-hosted. 2015-03-06 07:03:41 -06:00
Joel Martin
55a253cbce Revert "Revert "Replace pcre with Rust-implemented regex crate (based on RE2).""
This reverts commit 30794b7111.
2015-03-05 23:22:56 -06:00
Joel Martin
62a05753ff Merge pull request #29 from kanaka/revert-28-master
Revert "Replace `pcre` with Rust-implemented regex crate (based on RE2)....
2015-03-05 23:15:16 -06:00
Joel Martin
30794b7111 Revert "Replace pcre with Rust-implemented regex crate (based on RE2)." 2015-03-05 23:14:56 -06:00
Joel Martin
a6b7d1334b Merge pull request #28 from BurntSushi/master
Replace `pcre` with Rust-implemented regex crate (based on RE2).
2015-03-05 23:09:34 -06:00