1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Joel Martin
a1eb30fcc9 Use more common spelling of deferrable.
Deferable is apprently a less common but correct spelling.
2016-05-10 10:26:39 -05:00
Joel Martin
46e2568944 Makefile/runtest/tests: deferable/optional options
- tests/*: marked with deferable and optional runtest flags. Some
  moving around of tests within different sections to more closely
  align with the guide.
- runtest.py has --deferable/--no-deferable and
  --optional/--no-optional to control whether tests marked as
  deferable and optional are tested.
- Makefile: DEFERABLE and OPTIONAL top level flags to be passed to
  runtest when running tests.
- Also, fix problems in java quoting revealed by step7 test changes.
2016-05-09 21:14:15 -05:00
Dov Murik
4e284171ed tests: Add tests for (first nil) and (rest nil) 2016-02-03 21:23:45 -05:00
Joel Martin
9bca0b57e3 tests: make macro result evaluation mandatory. 2016-01-26 14:21:05 -06:00
Dov Murik
a193b2c470 tests/step8: remove and macro tests, add ->> macro tests
1. `gensym` isn't yet available in step8
2. `and` tests are very slow in some implementations
3. ->> macro is more complex
4. moved core.mal to the end so it won't override the builtin `or` macro
2016-01-22 23:47:50 -05:00
Joel Martin
6523be9f1a Add macro result eval test.
Test to cover bug https://github.com/kanaka/mal/issues/142
2016-01-20 15:28:55 -06:00
Joel Martin
6b9eb18e01 tests: move reorder tests to better match guide. 2015-03-18 08:12:19 -05:00
Joel Martin
758933f215 tests: add macro-in-macro test.
E.g.: (or (or false 4))  ->  4
2015-03-05 11:27:22 -06:00
Joel Martin
b8ee29b22f All: add keywords.
Also, fix nth and count to match cloure.
2015-01-09 16:16:50 -06:00
Joel Martin
891c3f3b47 CoffeeScript: add all steps. Self-hosting. 2015-01-09 16:16:45 -06:00
Joel Martin
f947d503f7 R: atom support, fixes for self-hosting. 2015-01-09 16:16:45 -06:00
Joel Martin
8128c69a1d R: add step8_macros and step9_try. 2015-01-09 16:16:44 -06:00
Joel Martin
c30efef469 R: add step6_file and step7_quote
Change symbols to be special class.
2015-01-09 16:16:43 -06:00
Joel Martin
77b2da6cf3 rust: add conj, stepA. Self-hosting! 2015-01-06 21:59:01 -06:00
Joel Martin
9af8aee63a Tests: move optional features to end and print header. 2014-04-19 15:27:19 -05:00
Joel Martin
8cb5cda46c All: move some fns to core. Major cleanup.
- Don't import/require core until step4.
- Define cond/or macros from step8
2014-04-16 23:57:50 -05:00
Joel Martin
d85fc03775 Ruby: add step8_macros 2014-04-10 23:27:50 -05:00
Joel Martin
3169070063 Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00