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

28 Commits

Author SHA1 Message Date
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