clojure macros? #162
-
Does the Clojure macro library currently exist? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Short answer is "no". The Clojure-like reader does have an (incomplete) prototype, Hissp's bundled macros are currently much more complete on master than on PyPI, and are at least partially inspired by Clojure's (see the wiki page for equivalents), but with the restriction that the compiled output be standalone, i.e. it will run on Python without Hissp installed. This may already suffice for your needs. Hebigo's macro suite is even more complete and powerful, but without the standalone restriction. It's mostly based around Python statements, but does include a Clojure-like destructuring let. |
Beta Was this translation helpful? Give feedback.
Short answer is "no".
The Clojure-like reader does have an (incomplete) prototype,
not yet published,based on EDN. I never said that any function/macro library I write was going to copy Clojure's, only that it would be "complete" in some sense, however, it is a design goal of Hissp that a fairly Clojure-like function/macro library be possible to write with Hissp. If you want to try writing one, I would probably add a link to it in Hissp's docs, but it doesn't belong in this repo.Hissp's bundled macros are currently much more complete on master than on PyPI, and are at least partially inspired by Clojure's (see the wiki page for equivalents), but with the restriction that the compiled ou…