Hy 1.0.0, the Lisp dialect for Python, has been released

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. hy

    A dialect of Lisp that's embedded in Python

    > Hy is a dialect of the Lisp programming language designed to interact with Python by translating s-expressions into Python's abstract syntax tree (AST).

    Also, looking at the code on Github suggests this compiler is written in Python (see https://github.com/hylang/hy/blob/master/hy/compiler.py).

    I kind of wish this was made more clear on the main website. Like, instead of introducing Hy as "a Lisp dialect that's embedded in Python", introduce it as "a Lisp dialect that compiles to Python's AST". The words "embedded in Python" don't make it very clear just how it's embedded into Python, and the various ways you can embed a Lisp look very different and have very different tradeoffs. E.g., I could "embed" a Lisp by writing an interpreter (in C if I care about performance) and letting it be called from Python. Or I could "embed" a Lisp by compiling to Python bytecode. Or I could "embed" a Lisp by translating it directly to Python source code. Etc.

    Regardless, interesting project!

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. orphism

    A horizon chart in the terminal.

    Congratulations -- and thank you! I've been playing with Hy on and off (tried to do transformers with it, and then released https://github.com/kunalb/orphism written in hy). Time to pick it up again and take it for a spin

  4. foc

    A seamless and streamlined functional tool

    You can get FP compositions without swithing the syntax of Python: https://github.com/thyeem/foc

  5. basilisp

    A Clojure-compatible(-ish) Lisp dialect targeting Python 3.9+

    I haven't used Hy, but I am the maintainer of a Basilisp which also compiles to Python and aims for reasonably close compatibility with Clojure if you're interested.

    https://github.com/basilisp-lang/basilisp

  6. sushy

    A wiki/blogging engine with a static file back-end

    At long last! Now I can finally clean up https://github.com/rcarmo/sushy (I've been poking at it over the years, but every time I upgraded hy portions of the syntax broke, or things would get moved in and out of the hyrule package, etc.)

    By the way, Hy works really well inside https://holzschu.github.io/a-Shell_iOS on the iPad, although the syntax highlighting in vim/neovim needs to catch up to the 0.29+ releases and async.

  7. gently

    A tool for designing and analysing control systems

    https://github.com/celaleddin/gently

    Since then, I've been following Hy from a distance and it's amazing to see it's still active. Thank you everyone involved!

  8. pyjsx

    Write JSX directly in Python

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. ClojureRS

    Clojure, implemented atop Rust (unofficial)

    Code thats written in Lisp is using AST differently. It makes the process of generating machine code much easier. This in turn enables macros which is meta programming not available in non Lisp languages. However on the other hand I tried this avenue and since most modern computing is not Lisp based it severely limits its potential. I'm hoping for a Rust based Clojure or variant. Clojure has the problem its based on the java ecosystem which has severe downsides. A lisp thats based on python doesnt make much sense to me personally python isnt a good language to write other languages in. I think Zig and Rust would be the interesting choices. One attempt: https://github.com/clojure-rs/ClojureRS

  11. Coconut

    Simple, elegant, Pythonic functional programming.

    Not a Lisp, but also an interesting take on a functional programming language that transpiles to Python is Coconut (https://coconut-lang.org/).

    I'd be seriously interested in hearing from people that have actually used any of these two and what their experience was.

  12. py4cl2-cffi

    CFFI based alternative to py4cl2

  13. lang

    A library for seamless multi-language programming. (by marcoheisig)

  14. wisp

    Mirror of https://hg.sr.ht/~arnebab/wisp (by stereobooster)

  15. sharpl

    a custom Lisp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you know that Python is
the 2nd most popular programming language
based on number of references?