libpython-clj-examples
pymen
libpython-clj-examples | pymen | |
---|---|---|
2 | 4 | |
138 | 12 | |
- | - | |
0.0 | 0.0 | |
almost 4 years ago | about 1 year ago | |
Clojure | JavaScript | |
Eclipse Public License 1.0 | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libpython-clj-examples
-
Pyffi – Use Python from Racket
It’s also worth noting that Clojure has libpython-clj (https://github.com/clj-python/libpython-clj) which offers an interface with Python from another lisp. Here are some advanced ML and dataviz examples using that lib: https://github.com/gigasquid/libpython-clj-examples.
-
libpython-clj : I was looking for a way to call Python from Clojure when I discovered this gem
You might like to look at various examples using this library here. https://github.com/gigasquid/libpython-clj-examples
pymen
-
Pyffi – Use Python from Racket
Neat! Nicely done.
fwiw, I wrote a Lisp in Python whose sexprs ended up looking similar: https://github.com/shawwn/pymen
That’s the runtime for it, which is self hosted, so it supports that dot syntax but doesn’t actually use it in its own code. (If you add a new feature like dot syntax to a self hosted lisp, then you start using the feature, and later decide it was a bad idea, it becomes incredibly difficult to revert — So the compiler sticks to a minimal subset.
But it can run code almost exactly as you’ve written, minus the backslashes. It also has:
(for x in (list 1 2 3 4)
- The most misunderstood aspect of Python
-
Can continuation passing style code perform well?
Glad you asked. Like this: https://github.com/shawwn/pymen/blob/68b66dccc96910869ab370d...
(=defun choose-bind-test ()
What are some alternatives?
python - An interface to Python for Gambit Scheme
stack-overflow-import - Import arbitrary code from Stack Overflow as Python modules.
koka - Koka language compiler and interpreter
wasm-effect-handlers - WebAssembly specification, reference interpreter, and test suite with effect handlers extension.
lumen - A Lisp for Lua and JavaScript