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

2049 Commits

Author SHA1 Message Date
Joel Martin
f705f0fce1 Ruby: step0, step1 2014-04-10 20:34:29 -05:00
Joel Martin
712af9efbe Add stats-lisp target (only env, core, stepA) 2014-04-10 19:27:42 -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
edc3b0640f README: add C# info. Cleanup top Makefile.
Also, re-order impls into alphabetical order.
2014-04-09 22:15:54 -05:00
Joel Martin
17ae845ec1 C#: add metadata and atoms. 2014-04-09 21:57:50 -05:00
Joel Martin
faee4d1230 C#: add stepA_more and core functions. 2014-04-09 21:26:35 -05:00
Joel Martin
faa20db282 C#: add step8_macros 2014-04-07 22:53:53 -05:00
Joel Martin
5a159ae75a C#: add step7_quote 2014-04-07 22:40:30 -05:00
Joel Martin
b0293c1571 C#: step6_file 2014-04-07 21:58:03 -05:00
Joel Martin
96115d4f2e C#: add step5_tco 2014-04-07 21:33:29 -05:00
Joel Martin
afdf531eba CS: add step4_if_fn_do 2014-04-07 00:17:13 -05:00
Joel Martin
b18969c0b8 CS: add step3_env
Also, make Makefile more closely match the C Makefile.
2014-04-06 23:58:14 -05:00
Joel Martin
b56c49a12d C#: add step2_eval. 2014-04-06 22:38:26 -05:00
Joel Martin
53beaa0a6d CS: add step1_read_print 2014-04-06 22:13:14 -05:00
Joel Martin
b2ff794a97 C: fix step1 EOF handling. 2014-04-06 19:28:11 -05:00
Joel Martin
afde2df05d C#: step0_repl using de Icaza's getline.cs 2014-04-06 19:23:28 -05:00
Joel Martin
f1b72c6a7b docs/TODO: cleanup/re-organize. Add more languages. 2014-04-06 17:35:18 -05:00
Joel Martin
261ce5c072 JS: fix josh.js submodule for gh-pages compatibility. 2014-04-06 17:06:07 -05:00
Joel Martin
31b4416181 JS: fix web interface. 2014-04-06 16:40:55 -05:00
Joel Martin
b079f51028 C,PHP,Python: stepA fixup. All tests/impls pass! 2014-04-06 16:24:27 -05:00
Joel Martin
406d1370fa Python: missed cleanup/core split of step9, stepA. 2014-04-06 16:17:38 -05:00
Joel Martin
e7c1a2f62b PS: fix string escaping. Passes all tests. 2014-04-06 15:53:19 -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
ea81a8087b All: split types into types, env, printer, core.
- types: low-level mapping to the implementation language.
- core: functions on types that are exposed directly to mal.
- printer: implementation called by pr-str, str, prn, println.
- env: the environment implementation

- Also, unindent all TCO while loops so that the diff of step4 and
  step5 are minimized.
2014-04-02 22:23:37 -05:00
Joel Martin
1617910ad3 All: remove slurp-do, use str around slurp instead. 2014-04-01 23:12:33 -05:00
Joel Martin
7e872ecfc0 Java: fix Makefile file list. 2014-04-01 22:51:32 -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
950e3c765e PS: add stepA_more.
Sync other steps. In particular, self reference in function definition
and putting readline into _readline function.
2014-04-01 21:50:24 -05:00
Joel Martin
704194e12c PS: add step9_interop: (ps* str)
Needs some work, but function. Also need (. x y z) form.
2014-04-01 20:06:44 -05:00
Joel Martin
3da90d3907 PS: add step8_macros.
Use dicts rather than array block for user defined mal function type.
Add fload function to setup call from a mal_function dict.
2014-03-31 23:05:41 -05:00
Joel Martin
8e7e339db8 PS: add step7_quote 2014-03-30 22:39:44 -05:00
Joel Martin
54c7538265 README, TODO, step_notes updates. 2014-03-30 16:39:44 -05:00
Joel Martin
724ad69487 PS: add ste6_file. 2014-03-30 16:37:14 -05:00
Joel Martin
bcddc3e49a README: add more details. 2014-03-29 19:01:14 -05:00
Joel Martin
5d446bd8a0 README: minor name synchronization ("argument"). 2014-03-29 18:37:20 -05:00
Joel Martin
46669c861b PS: add step5_tco.
Update step4 function definition to match.
2014-03-29 18:35:22 -05:00
Joel Martin
2e05535fa0 PS: fix string length calc for printing integers. 2014-03-29 18:34:10 -05:00
Joel Martin
0a2c69544b PS: add step4_if_fn_do 2014-03-29 18:20:07 -05:00
Joel Martin
aef93ea396 PS: error handling, throw, print excpetions without dying. 2014-03-29 17:35:53 -05:00
Joel Martin
04517bc826 PS: add step3_env 2014-03-29 17:26:07 -05:00
Joel Martin
55e2bfa8a3 PS: step2_eval 2014-03-29 17:01:24 -05:00
Joel Martin
1b4a9012c5 PS: minimal step1_read_print 2014-03-29 15:56:20 -05:00
Joel Martin
60154d24a8 Update README.md and TODO. Minor PS update. 2014-03-29 15:17:00 -05:00
Joel Martin
dc7938d8e6 Clojure, Java, PHP: remove hardcoded readline history path. 2014-03-29 15:00:07 -05:00
Joel Martin
285b5ba793 PS: add notes for running postscript. 2014-03-26 10:27:52 -07:00
Joel Martin
88f59d07a1 Postscript: step0_repl.ps
Run it using ghostscript:

    gs -q -dNODISPLAY step0_repl.ps
2014-03-25 15:20:17 -07:00
Joel Martin
489effa585 Update to actual presentation used for talk. 2014-03-25 15:15:11 -07:00
Joel Martin
48d642297f README: stub. 2014-03-24 16:42:25 -05:00
Joel Martin
3169070063 Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00