1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 10:07:45 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Dov Murik
a5bdda6d64 python: Fix interop (py*, py!*)
py!*: Fix to work on both Python 2 and 3.

py*: Python types are converted to Mal types where applicable.

Added tests for Python interop.
2016-05-09 01:39:45 -04:00
Joel Martin
185d4f0c25 ps, python: fix keyword? on empty string.
Issue #166.
2016-02-15 09:30:16 -06:00
Dov Murik
cbbbec92dd python: Pass function arguments as a mal list 2016-01-29 21:37:31 -05:00
Dov Murik
a16bb08f51 python: Fix equality of unicode/normal strings in Python 2.x 2016-01-27 13:02:14 -05:00
Joel Martin
672618d8b8 python: fix string/unicode comparison.
Fixes #135.
2015-12-17 09:21:06 -06:00
Joel Martin
6d3fc1be9a Fix hash-map equality in python and rpython. 2015-11-10 11:00:56 -06:00
Joel Martin
d706ed5041 Python: fix python3 support with keywords. 2015-01-09 16:16:56 -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
a05f7822b1 Python: metadata on builtin funcs. Support python3. 2014-04-16 22:42:17 -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
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
9528bb1451 All: pass stepA tests, in particular with correct conj behavior. 2014-04-01 22:50:55 -05:00
Joel Martin
3169070063 Current state of mal for Clojure West lighting talk. 2014-03-24 16:32:24 -05:00