hylang/hy
View on GitHub ↗ ★ 5,443 Python
A dialect of Lisp that's embedded in Python
79 mentions on Hacker News by 62 people: 13 stories, 66 comments · first 2013-06-23 · latest 2024-09-23
20082026
-
For even more fun, checkout hy ( https://github.com/hylang/hy ). It's completely compatible with standard python both ways (ie you can import python from hy and import hy from python), so you can import python-sh and do awesome stuff like:…
comment by rakoo · 2015-04-15 · in Common Lisp as a Scripting Language, 2015 Edition -
…), which does persistent data structures and which I've been pondering using with Hy ( https://github.com/hylang/hy ). (edit: damn autocorrect!)
comment by rcarmo · 2014-12-14 · in Mochi – Dynamically-typed language for functional and actor-style programming -
https://github.com/hylang/hy/blob/master/docs/contrib/loop.r... I thought this is not possible in python. Can someone explain ? Python doesn't have tail call optimization and hy produces python AST. Am I missing something ? I tried reading…
comment by diadara · 2014-12-04 · in Hy – A dialect of Lisp that’s embedded in Python -
It dosn't stop there. Why use the decorators directly when you can get Hy on Meth? https://github.com/hylang/hy/blob/master/hy/contrib/meth.hy
comment by Foxboron · 2014-12-04 · in Hy – A dialect of Lisp that’s embedded in Python -
…python constructs (and whatever can be mapped to AST)... here's where list-comp is implemented: https://github.com/hylang/hy/blob/master/hy/compiler.py#L137... Anything above that is written as Hy macros, in Hy itself:…
comment by paroneayea · 2014-12-04 · in Hy – A dialect of Lisp that’s embedded in Python -
Yes thats correct. https://github.com/hylang/hy/blob/dcf29d3d2a147fe66a19971214... Source for those interested. Note that Hy replaces all - in names for _, thus we can have prettier names :)
comment by Foxboron · 2014-12-04 · in Hy – A dialect of Lisp that’s embedded in Python -
I take it you refer to your complaint here: https://github.com/hylang/hy/issues/543 Your problem is with Python, not Hy. Hy inherits the "stupid limitations" of Python, and not even all of those - for example, it does away with the…
comment by dTal · 2014-10-22 · in Pixie: A small fast, native lisp -
Hylang ( https://github.com/hylang/hy ), a lisp ontop of Python, got a MiniKanren implementation that is pretty neat: https://github.com/algernon/adderall
comment by Foxboron · 2014-10-01 · in MiniKanren – An embedded DSL for logic programming -
> Python is pretty lispy! Check this out https://github.com/hylang/hy
comment by hcarvalhoalves · 2014-09-07 · in Why I like Common Lisp -
…the use of the word ___damn in the readme (censoring myself here so I don't offend them, I guess). https://github.com/hylang/hy/pull/499
comment by upwardbound · 2014-02-11 · in Hy, a Lisp that compiles to Python -
Yeah, it's probably not the best idea. Looks like someone opened a pull request to fix it: https://github.com/hylang/hy/pull/499
comment by gtaylor · 2014-02-10 · in Hy, a Lisp that compiles to Python -
…expressions into statements/expressions (I work a bit on Hy[0] which does exactly this). [0] https://github.com/hylang/hy
comment by agentultra · 2014-02-04 · in So you want to write your own language? -
The OP is going to have kittens when he finds out about hylang ( https://github.com/hylang/hy )
comment by rcarmo · 2014-01-19 · in Lisp: More is less -
…that code isn't out. A good way to see Hy in action is looking at our tests/native_tests section. http://github.com/hylang/hy
comment by Foxboron · 2014-01-16 · in The State of Hy -
…with 2.6, 2.7, 3.2, 3.3 and pypy. We even added a few steps so we will have support for 3.4! https://github.com/hylang/hy It's a great example of how Python isn't that different from LLVM and JVM!
comment by Foxboron · 2014-01-15 · in Why Are There So Many Pythons? -
In case anyone wants to learn more: Repo: https://github.com/hylang/hy (star it, fork it) Lightning Talk from PyCon: http://blog.pault.ag/day/2013/04/02 Hour long Boston Python talk: http://www.youtube.com/watch?v=ulekCWvDFVI Slides:…
comment by paultag · 2013-06-23 · in First steps with Hy, the Pythonic Lisp