Hacker GitHub

← All repos

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

Mentions per year 79 mentions · busiest year 2014 (16)
20082026
  1. …'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
  2. 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
  3. …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
  4. …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
  5. …like this did), but I believe Hylang[0] is the best Lisp package available for modern Python. [0] https://github.com/hylang/hy
  6. 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
  7. …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?
  8. …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
  9. …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
  10. …The status quo is an apparently working `let` due to a truly heroic effort by Sunjay Cauligi ( https://github.com/hylang/hy/pull/2125 ). You're encouraged to try to find bugs in it. In truth, I've never understood the fuss about `let`.…
    comment by Kodiologist · 2022-05-03 · in Why Hy?
  11. 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…
  12. That sounds kind of similar to Hy: https://github.com/hylang/hy
  13. …--- 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…
  14. …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
  15. 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...
  16. …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
  17. 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)
  18. …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)
  19. https://github.com/hylang/hy
  20. …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
  21. …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.
  22. …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
  23. …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
  24. …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…
  25. You may also enjoy: https://github.com/hylang/hy
    comment by thanksforfish · 2020-05-01 · in I’ve Consed Every Pair
  26. Python syntax can be heavily and easily manipulated via the ast module. An example of this is hylang https://github.com/hylang/hy
  27. Have you looked at Hy? https://github.com/hylang/hy
  28. …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
  29. …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
  30. 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
  31. 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
  32. Cloudflare throws a dns origin error. Repo: https://github.com/hylang/hy/blob/master/README.md
    comment by mhxion · 2019-08-04 · in Hy
  33. And an even better: https://github.com/hylang/hy
  34. …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
  35. 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)
  36. …they want Lisp in Python they should look into Hy. http://docs.hylang.org/en/stable/quickstart.html https://github.com/hylang/hy
  37. …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
  38. …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
  39. 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
  40. 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
  41. …libraries. I'm not sure if it cross-compiles to Python or just to Python bytecode, though. 1: https://github.com/hylang/hy
  42. Related, s-expression Python: https://github.com/hylang/hy
  43. I love Hy. I played around with it 3 years ago. Development has been super active since then: https://github.com/hylang/hy Don't know if it's still the case, but the Hy project had the most puns I've seen in one repo. In a good way. Here…
    comment by nathancahill · 2016-11-07 · in Hy
  44. …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...
  45. Yes! https://github.com/hylang/hy
  46. …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...
  47. Hy is a Lisp that compiles to Python AST and then to Python bytecode: https://github.com/hylang/hy/blob/master/docs/language/inter...
  48. If you're interested in Python and Lisp, Hy ( https://github.com/hylang/hy ) is great. They're welcoming and funny.
  49. …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)
  50. cough I'd love to say it's possible, but with a few modifications. https://github.com/hylang/hy http://docs.hylang.org/en/latest/language/api.html?highlight...
    comment by Foxboron · 2015-05-07 · in Why Lisp?