Hacker News new | past | comments | ask | show | jobs | submit login

“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.




Is there any evidence of anyone using Hylang (other than the community that invented it?)


It's funny that you asked that and then someone posted an app that's almost entirely Hy language. I'm just sharing it so you have one example:

https://github.com/atisharma/llama_farm/tree/main

The AI's have limited ability to either handle large documents or track conversations. This tool is an attempt to solve that problem. It works with OpenAI and open-source AI's.


Probably not. I mentioned it because it’s existing work that bridges the two. It also might spark HN users’ creativity about how they might do it differently.

For instance, I was exploring two ideas. One was how to turn Python into something with no dependencies, more powerful, and fast. I considered converting it to Lisp to use their compilers and macros. Another exploration was, like ShedSkin, converting it to C/C++ but without Python dependencies. It would be easier for me to generate code from Lisp syntax than Python syntax.

So, you know, just sharing tools that might get people’s minds going.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: