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
-
…'lisp syntax. Actually lack of it...'. Here is an example I recently ran into when checking out Hy https://github.com/hylang/hy/discussions/2608#discussioncomm... This shows how much you can abstract, hide the noise without any runtime…
comment by reddit_clone · 2024-09-23 · in Hy 1.0 – Lisp dialect for Python -
I loved the HYPE POST.[0] I work with corporate software. It is absolutely brilliant. [0] https://github.com/hylang/hy/discussions/2609
comment by vintagedave · 2024-09-22 · in Hy 1.0 – Lisp dialect for Python -
…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. Perhaps, instead of…
comment by cooljoseph · 2024-09-22 · in Hy 1.0 – Lisp dialect for Python -
…am willing to live with Python as the Lisp we deserve to have You can have your cake and eat it too https://github.com/hylang/hy
comment by RMPR · 2024-09-18 · in GraalPy – A high-performance embeddable Python 3 runtime for Java -
…like this did), but I believe Hylang[0] is the best Lisp package available for modern Python. [0] https://github.com/hylang/hy
comment by Zambyte · 2024-03-11 · in (How to Write a (Lisp) Interpreter (In Python)) (2010) -
A good starting point might be Hy [0]. Its claim to fame is being a LISP embedded in Python. [0]: https://github.com/hylang/hy
comment by timfi · 2023-03-09 · in Ask HN: What's the best Lisp for a Python hobbyist looking to learn? -
…dual. (visual image) : https://camo.githubusercontent.com/eea10b37eb037c82285364013 ... [1] : https://github.com/hylang/hy
comment by sargstuff · 2022-09-20 · in Is Lisp Regaining Popularity? -
…There's Hy lang, which is python powered lisp. It'll be good to get some extra attention. https://github.com/hylang/hy
comment by drekipus · 2022-08-08 · in Wisp: Whitespace to Lisp -
…handy. If there was a Nim facility for full Lisp or a very Lispy syntax that could be really nice. https://github.com/hylang/hy
comment by cestith · 2022-05-18 · in Correctness and composability bugs in the Julia ecosystem -
Feels appropriate to say that Hylang is in version 1.0 alpha: https://github.com/hylang/hy/releases/tag/1.0a4 That's Lisp over Python -- you can do data science properly in Lisp now using all you favourite Python packages. I repeat you can…
comment by usgroup · 2022-04-27 · in Tutorial Series to learn Common Lisp quickly -
That sounds kind of similar to Hy: https://github.com/hylang/hy
comment by pabs3 · 2022-04-17 · in Using SBCL Common Lisp as a Dynamic Library -
…--- e.g. Hy Lisp project didn't like GG and eventually settled on migrating to Github Discussions: https://github.com/hylang/hy/issues/1778 (Yes, Github/Microsoft is a walled-garden but that didn't seem to be the biggest concern. Their…
comment by jasode · 2022-02-14 · in Don't contribute anything relevant in web forums (2020) -
…could probably be popular, lots of people would like features from it. Not exactly bytecode but Hy https://github.com/hylang/hy is a dialect of Lisp that compiles to Python.
comment by Zababa · 2021-11-03 · in Differences with other Lisps -
Hy's loop/recur had a serious bug last I checked: https://github.com/hylang/hy/issues/1465 But see the @loop decorator from Drython for how to do this in Python: https://github.com/gilch/drython/blob/eb1773c14060e31e2544f5...
comment by gilch · 2021-05-06 · in Hy: A dialect of Lisp that's embedded in Python -
…example I can think of offhand is that `let` had to get banished from the standard library: https://github.com/hylang/hy/issues/844 That said, Hy is still a nice language, and very well thought out. It's just that billing it as a lisp…
comment by mumblemumble · 2021-05-05 · in Hy: A dialect of Lisp that's embedded in Python -
There's also Hy ( https://github.com/hylang/hy ) if you just want Python with Clojure-ish syntax. At the very least it frees you from indentation and single-expression lambda restrictions.
comment by cutler · 2021-02-25 · in Python for Lisp Programmers (2000) -
…Clojure is the best programming experience I've encountered. For a Pythonic lisp there's also Hy ( https://github.com/hylang/hy ).
comment by cutler · 2021-02-25 · in Python for Lisp Programmers (2000) -
https://github.com/hylang/hy
comment by madmax108 · 2020-09-14 · in Q: A faster re-implementaiton of jq written in Reason Native/OCaml -
…of a lisp flavour for lua before. Looks very elegant. It reminds me of hy, for python. [1] [1] https://github.com/hylang/hy
comment by miguendes · 2020-09-06 · in Fennel – Lisp in Lua -
…but any time I see functional and python in the same sentence, I like to remind folks about Hy: https://github.com/hylang/hy I think it operates on the AST in python, which is also nifty.
comment by codezero · 2020-07-07 · in Coconut: Simple, elegant, Pythonic functional programming -
…I guess? It looks pretty lively although I'm not sure how seriously people take it these days. [1]: https://github.com/hylang/hy
comment by adamnew123456 · 2020-06-24 · in PEP 622 – Structural Pattern Matching -
…there was an older repo that is now gone: https://github.com/lihaoyi/macropy/graphs/contributors https://github.com/hylang/hy/graphs/contributors It looks like macropy started around 6 months after Hy, around a time when Hy had multiple…
comment by tekacs · 2020-05-16 · in Macropy: Syntactic Macros for Python -
…and get python to treat it like any other python code. Hy is a language which works this way: https://github.com/hylang/hy (see this part of their documentation for how the user can use this: https://docs.hylang.org/en/master/language/inter…
comment by rcxdude · 2020-05-05 · in Python goto implemented with system trace function (2017) -
You may also enjoy: https://github.com/hylang/hy
comment by thanksforfish · 2020-05-01 · in I’ve Consed Every Pair -
Python syntax can be heavily and easily manipulated via the ast module. An example of this is hylang https://github.com/hylang/hy
comment by kilon · 2020-02-03 · in Exploit custom codecs to write inline C in Python -
Have you looked at Hy? https://github.com/hylang/hy
comment by codezero · 2020-01-08 · in Show HN: Beef, a new performance-oriented programming language -
…quite an easy start, especially if you are familiar with Python. It's kind of Python in lisp format https://github.com/hylang/hy
comment by tim333 · 2019-10-13 · in Show HN: Bel -
…a lot of source from the standard loader implementation in CPython for only a few simple changes. https://github.com/hylang/hy/pull/1672
comment by btwillard · 2019-08-09 · in A week with Hy -
I think you are correct, they monkey-patched importlib https://github.com/hylang/hy/blob/master/hy/importer.py#L132
comment by greenshackle2 · 2019-08-08 · in A week with Hy -
Yep. Check out the GitHub list: https://github.com/hylang/hy/network/dependents?dependent_ty...
comment by jdc · 2019-08-08 · in A week with Hy -
And an even better: https://github.com/hylang/hy
comment by d33 · 2019-08-02 · in How to Write a Lisp Interpreter In Python (2010) -
…your code's signal to noise ratio by quite a lot. docs: http://docs.hylang.org/en/stable/ github: https://github.com/hylang/hy get it: pip install hy
comment by epr · 2019-07-12 · in Racket Is an Acceptable Python -
there's also "hy", which gives you lisp syntax and access to the python libraries. https://github.com/hylang/hy
comment by cellularmitosis · 2018-08-02 · in Paul Graham on SICP (2000) -
…they want Lisp in Python they should look into Hy. http://docs.hylang.org/en/stable/quickstart.html https://github.com/hylang/hy
comment by codetrotter · 2018-07-03 · in PEP 572: Python assignment expressions has been accepted -
…I want. Could any one suggest how one might do data science and analytics on Lisp? P.S.: Hy Lang: https://github.com/hylang/hy
comment by bhnmmhmd · 2018-04-27 · in Lisp in Small Pieces of Clojure, part 3 -
…to have a let (but a broken one) and it was removed in a recent version. For context on this see https://github.com/hylang/hy/issues/1056
comment by shuzchen · 2017-08-02 · in Hy – A Lisp-flavored Python -
There is a description of the problem here: https://github.com/hylang/hy/issues/1056 I think it really comes down to python having limited scoping capabilities (I think you can only really make new scopes with function declarations), this…
comment by alschwalm · 2017-08-02 · in Hy – A Lisp-flavored Python -
This is brilliant. It kind of reminds me of hy ( https://github.com/hylang/hy ) in addition to Norvig's lis.py that the author cites as inspiration. I feel like lots of folks in the R community secretly or not-so-secretly pine for lisp. My…
comment by peatmoss · 2017-07-17 · in A basic Lisp interpreter in R -
…libraries. I'm not sure if it cross-compiles to Python or just to Python bytecode, though. 1: https://github.com/hylang/hy
comment by nerdponx · 2017-01-09 · in How Lisp-family languages facilitate building bioinformatics applications -
Related, s-expression Python: https://github.com/hylang/hy
comment by rhaps0dy · 2016-12-17 · in Sxc – An s-expression based language source transpiler for C -
…Clojure reader - https://github.com/clojure/tools.reader/blob/master/src/main... [3] Using Hylang - https://github.com/hylang/hy/blob/master/hy/core/macros.hy#L...
comment by emidln · 2016-08-22 · in FemtoEmacs: Tiny Emacs clone with configuration in FemtoLisp -
Yes! https://github.com/hylang/hy
comment by Foxboron · 2016-06-23 · in Coconut – Pythonic functional programming language -
…technically makes python a multi-syntax language already. Plus you get all the python libraries. https://github.com/hylang/hy It's been posted a bunch of times on HN https://www.google.ca/search?q=site%3Anews.ycombinator.com+h...
comment by shpx · 2016-03-13 · in Show HN: A multi-syntax programming language with bidirectional grammars -
Hy is a Lisp that compiles to Python AST and then to Python bytecode: https://github.com/hylang/hy/blob/master/docs/language/inter...
comment by jonjacky · 2016-01-30 · in Ask HN: Examples of meta programming or AST-hacking in Python? -
If you're interested in Python and Lisp, Hy ( https://github.com/hylang/hy ) is great. They're welcoming and funny.
comment by _xhok · 2015-11-29 · in Ask HN: Which open source projects have kind, supportive, talented teams? -
…just dropped in Python projects. And it's not just the syntax, you can of course use Lisp macros! https://github.com/hylang/hy
comment by rhaps0dy · 2015-07-30 · in Scheme vs. Python (2011)