hy
cyclone
Our great sponsors
hy | cyclone | |
---|---|---|
52 | 8 | |
4,772 | 808 | |
1.0% | - | |
9.0 | 8.6 | |
7 days ago | 3 days ago | |
Python | Scheme | |
GNU General Public License v3.0 or later | MIT 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.
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.
cyclone
- Rust vs. Go in 2023
-
Best implementation for standalone + browser executable?
Wow, thanks a lot! I hit a snag running cyclone's repl on a M1 Mac, but found the fix here: https://github.com/justinethier/cyclone/issues/464
-
How to Detect a Cycle in a Linked List
When developing Cyclone Scheme I discovered the latest R7RS Scheme language specification requires that several procedures handle circular lists.
-
Which Scheme for compiling C to use in WASM?
Cyclone Scheme transpiles to C and can run in the browser using WASM.
-
Tail Call Optimization by Base Jumping off the Stack
Over the years various solutions have been developed to meet this requirement such as trampolines, goto's, compiler optimizations, etc. One of the most unusual was proposed by Henry Baker in his paper CONS Should Not CONS Its Arguments, Part II: Cheney on the M.T.A. (PDF).
-
Oldest Scheme Implementations
And its successor, Cyclone, began in 2014, and is actively developed.
-
If you had to pick a Scheme to write a standalone application which would you choose?
Gambit, and consequently Gerbil, are not very mature and still need a bit more of a environment. Stklos could also be interesting, as well as Cyclone.
- Cyclone Scheme: A R7RS Scheme Compiler
What are some alternatives?
hissp - It's Python with a Lissp.
cli-command - cli-command template
Fennel - Lua Lisp Language
r6rs-pffi - Portable Foreign Function Interface (FFI) for R6RS
babashka - Native, fast starting Clojure interpreter for scripting
r7expander - R7RS expander
eso-light-attack-weave - This is a macro for the game Elder Scrolls Online
7GUI - the 7 gui project
Carp - A statically typed lisp, without a GC, for real-time applications.
guile-json - JSON module for Guile
hebigo - 蛇語(HEH-bee-go): An indentation-based skin for Hissp.
cyclone-winds - The package manager for Cyclone Scheme.