1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 17:20:23 +03:00
Commit Graph

245 Commits

Author SHA1 Message Date
Joel Martin
699f0ad23a Add long running perf test. 2015-02-28 10:38:17 -06:00
Joel Martin
d90c784472 miniMAL: stepA. Comments. Add impl Makefile for stats. 2015-02-16 00:01:10 -06:00
Joel Martin
9d8f029932 miniMAL: step6 2015-02-15 20:11:11 -06:00
Chouser
db11c74027 Add tests for problems uncovered during forth self-hosted tests 2015-02-21 13:16:40 -05:00
Chouser
f6a4ddf758 test step1: Add input for existing output case 2015-02-21 13:16:34 -05:00
Joel Martin
ffd31966ec guide.md: step9,A stubs. TODO. More vector tests. 2015-01-30 13:21:10 -06:00
Joel Martin
9d42904e47 Lua: all steps and self-hosting.
Also some misc docs/TODO updates.
2015-01-08 23:25:40 -06:00
Joel Martin
f4c8a091aa Make: refactor number type. Support large numbers.
- Can support numbers up to 100 decimal digits in length.
- Still no support for negative numbers or floating point.
- Change time-secs to time-ms and remove conditional in perf.mal
2015-01-09 16:16:56 -06:00
Joel Martin
f522319598 Racket: add steps0-A. Self-hosting.
- Some additioanl tests.
- Split step9 tests into optional but self-hosting requirements
  (metadata on functions) and other optional (conj, metadata on
  collections).
2015-01-09 16:16:55 -06:00
Joel Martin
c150ec41f4 Haskell: Add steps9-A, metadata, and atoms.
Some refactoring of Core.hs to make better use of pattern matching.

Only remaining thing is exception handling (generic try/throw).
2015-01-09 16:16:53 -06:00
Joel Martin
a816262a05 Scala: refactor collections with metadata.
Convert numeric to Long. Add time-ms.

Add Makefile for stats targets.
2015-01-09 16:16:51 -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
b554fd4ed0 rust: fix quote/quasiquote of vectors. 2015-01-06 21:59:01 -06:00
Joel Martin
77b2da6cf3 rust: add conj, stepA. Self-hosting! 2015-01-06 21:59:01 -06:00
Joel Martin
06fef9b518 rust: add atom support. Fix vector params. 2015-01-06 21:59:00 -06:00
Joel Martin
b12d98e4e3 rust: core hash-map functions. 2015-01-06 21:59:00 -06:00
Joel Martin
a77e2b31de rust: add step8_macros 2015-01-06 21:58:59 -06:00
Joel Martin
4ee7c0f297 rust: add step7_quote. Refactor with type constructors. 2015-01-06 21:58:58 -06:00
Joel Martin
abdd56ebc0 Rust: step0_repl and step1_read_print 2015-01-06 21:58:35 -06:00
Joel Martin
01c9731649 All: swap step9,A. Fixes for bash, C, perl.
step9_interop -> stepA_interop
stepA_more -> step9_try

C: fix glib headers
bash: behavior change of declare -A and pattern replacement.
perl: squelch new 5.18 warnings related to switch/given statement.

Also, include some in-progress interop related files.
2015-01-06 21:57:24 -06:00
Joel Martin
1771ab50b8 go: update README. Backport Func usage. 2015-01-06 21:57:02 -06:00
Joel Martin
ad95503cea go: add step6_file 2014-10-06 22:27:28 -05:00
Joel Martin
70ea599b6e go: step1_read_print print working. 2014-10-04 21:49:26 -05:00
Joel Martin
cc021efe10 Add step5/9 tests for impls that support it.
- Also remove broken make/tests/*.mk tests. Not used any more.
2014-04-27 17:58:48 -05:00
Joel Martin
6301e0b637 All: TCO let* and quasiquote. 2014-04-23 21:59:50 -05:00
Joel Martin
89bd4de1e2 Perl: add vector, hash-map, metadata, atom support. TCO let*
- Changes all collections to be one level of inderection where the top
  level is always a hash containing 'meta' and 'val'.
2014-04-23 21:46:57 -05:00
Joel Martin
16354bb461 Perl: add stepA_more. 2014-04-22 23:50:43 -05:00
Joel Martin
a5a6605877 Perl: add step4_if_fn_do
- Move string/printing tests to the bottom of tests/step4_if_fn_do
2014-04-20 23:45:58 -05:00
Joel Martin
9af8aee63a Tests: move optional features to end and print header. 2014-04-19 15:27:19 -05:00
Joel Martin
db4c329aff All: perf test, Makefile refactor, add *host-language*
Other:
- bash,make,postscript: quasiquote of vectors
- Fix Java slurp
- add time function to core.mal
    - switches on *host-language* for make time-secs vs time-ms
- Ignore */experiments directories
2014-04-17 21:49:07 -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
a05f7822b1 Python: metadata on builtin funcs. Support python3. 2014-04-16 22:42:17 -05:00
Joel Martin
0027e8fed4 PS: fix function closures. Self-hosted up to step7. 2014-04-14 22:46:54 -05:00
Joel Martin
d85fc03775 Ruby: add step8_macros 2014-04-10 23:27:50 -05:00
Joel Martin
a34b020065 Fix metadata on functions.
- Don't use metadata to store ast, env, params data.
- In Clojure, store metadata on the :meta key of the real metadata.
  This also allows using any datatype as metadata.
2014-04-09 23:58:27 -05:00
Joel Martin
17ae845ec1 C#: add metadata and atoms. 2014-04-09 21:57:50 -05:00
Joel Martin
b079f51028 C,PHP,Python: stepA fixup. All tests/impls pass! 2014-04-06 16:24:27 -05:00
Joel Martin
5ce65382cf PS: add vector, hash-map, atoms and metadata.
As part of this lists switch from being a postscript array to being
a mal boxed type (dictionary with type in the /_maltype_ key).
2014-04-06 15:23:40 -05:00
Joel Martin
9528bb1451 All: pass stepA tests, in particular with correct conj behavior. 2014-04-01 22:50:55 -05:00
Joel Martin
aef93ea396 PS: error handling, throw, print excpetions without dying. 2014-03-29 17:35:53 -05:00
Joel Martin
3169070063 Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00