hy
rich4clojure
Our great sponsors
hy | rich4clojure | |
---|---|---|
52 | 6 | |
4,772 | 193 | |
1.0% | - | |
9.0 | 2.7 | |
8 days ago | 7 months ago | |
Python | Clojure | |
Expat | Eclipse Public License 1.0 |
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.
hy
- A dialect of Lisp that's embedded in Python
-
How to Write a (Lisp) Interpreter (In Python)
Not exactly the same (doesn't embed into the source like this did), but I believe Hylang[0] is the best Lisp package available for modern Python.
[0] https://github.com/hylang/hy
-
Sapling: A highly experimental vi-inspired editor where you edit code, not text
Isn't that a bit what hy (https://hylang.org/) tries to do ? AIUI it is a lisp interacting directly with the AST of Python, allowing seamless interop: Python modules can be used from hy and vice versa, everything is transparent.
- Hylang, a Lisp dialect embedded in Python
-
Hissp
I’ve been keeping loose tabs on this and Hy[1] for a while, but I’ve had some trouble figuring out the major differences between them and the use-cases for either. Would love to see an in-depth comparison in the form of a blog post sometime (though maybe the answer here is to do the research and write one up myself).
1: https://hylang.org
- Hy
-
Ask HN: Is SICP/HtDP still worth reading in 2023? Any alternatives?
“Python is for scientists. Lisp is for engineers.”
Then what does that make Hy language?
https://hylang.org/
Re Languages with lots of example code and LLM’s
With translators or things like Hy lang, one could get the LLM’s to solve your problem in Python before converting it to another form. Then, you just need a translator. If lacking one, it’s easy to translate by hand.
The practicality of this concept will probably vary by use case. My experiments had GPT doing sketching, implementations, boilerplate, and even porting Python to Rust. A legally-clear LLM trained on multiple languages could probably be fine-tuned to do Python to LISP conversions. If not, Hy might be a stepping stone, too.
-
Sharing Saturday #469
You could say so: I've been maintaining the compiler since 2016 ;). Infinitesimal Quest 2 + ε (SQ) exists more to advance Hy than for its own sake.
- What if: python without commas
-
Best implementation of CL for learning purposes
If you are using Python - you might find Hylang (https://hylang.org) interesting.
rich4clojure
-
How did you transition from C-style language to clojure ? I am having a hard time letting go of how I've been programming all my life.
The old 4Clojure site is not available any longer. I can (in a highly biased way) recommend using Rich4CLojure in the comfort of your favorite editor.
-
Clojure – Differences with Other Lisps
I've been messing with Clojure/ClojureScript for a few years having previously had zero Lisp experience. Overall, I think Clojure does a good job of being both practical and lispy. It's a language that is for building real things.
I've been focusing on ClojureScript (https://clojurescript.org/) as you get the benefit of interoperating with the Javascript ecosystem. The fact that there's a strong community around both Javascript hosted and Java hosted gives a wealth of library options.
Overall, the tooling has been getting a lot closer to the sort of experience that contemporary developers expect. The Calva plugins integration with Visual Studio (https://calva.io/) makes it easy to get started - you can even run it online with gitpod (https://github.com/PEZ/rich4clojure).
That just leaves learning the language - the slight changes in syntax (brackets for different data types) definitely help early on, and for the most part Clojure discourages people going down the path of macros which means reading other peoples code is reasonably accessible. The main struggle is that it's a language used by a lot of advanced or full-time developers, so documentation is pretty dense and it can take a real commitment to understand the detail.
It may not be 'correct' enough if you're coming from other Lisps, but coming the other way from C/Python etc I've found it an accessible and practical option.
-
Long-term funding update
Rich 4Clojure (editor/IDE based 4Clojure with a zero-install option)
-
Guide: Get Started with Clojure in a full REPL-driven editor without installing anything
(And arlier this week I did an adaption of Rich 4Clojure, adding a zero-install option there as well.)
-
Eclipse plugin CounterClockWise still an option?
A cheap (in terms of effort and impact on your computer) way to see how you like Calva is to try the Gitpod option of Rich 4Clojure: https://github.com/PEZ/rich4clojure
- Zero-install, yet full editor connected 4Clojure
What are some alternatives?
hissp - It's Python with a Lissp.
talk-transcripts - Transcripts of Clojure-related talks
Fennel - Lua Lisp Language
sci - Configurable Clojure/Script interpreter suitable for scripting and Clojure DSLs
babashka - Native, fast starting Clojure interpreter for scripting
joker - Small Clojure interpreter, linter and formatter.
eso-light-attack-weave - This is a macro for the game Elder Scrolls Online
4ever-clojure - Pure cljs version of 4clojure, meant to run forever!
Carp - A statically typed lisp, without a GC, for real-time applications.
etaoin - Pure Clojure Webdriver protocol implementation
hebigo - 蛇語(HEH-bee-go): An indentation-based skin for Hissp.
cloture - Clojure in Common Lisp