Unofficial Hacker News companion — get notified on comment replies, and more.

Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run (opens external site)

153 points by RiccardoSottini 4 days ago | github.com | 110 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (7)

  1. I'm doing this with Python. Made a tool that allows easy live dev in Python processes anywhere it's running, including on mobile.
    Replies (2)
    1. I would love to know more about it, is it open source? and does it support any other languages than Python (also another question: as to what are some other programming languages where such a tool can have high value too)
      Replies (1)
      1. It's still pretty fresh, so though I've used it to do some work on another project I don't really consider it satisfactorily proven yet. I'll probably open source it when I feel it's more solid. Only Python is supported, though theoretically the CLI side (it's split into CLI, server and debugger portions) could send commands to a debugger made in any language that supports the API. The only languages that can be fully supported though are those that allow full runtime evaluation, typically anything interpreted. Compile-only languages are out.
        Replies (1)
        1. What were the pros/cons you have experienced by using Python for such a project?
          Replies (1)
          1. I can't say much in terms of pros/cons as Python has always been my primary language. I started out with QBasic in high school, then researched languages when I was ready to go into software dev, settling on Python because it has a huge ecosystem and is very readable. I've dabbled in ELisp (Emacs is my IDE) and Pharo/Smalltalk (Glamorous Toolkit is very nice), but one is tied to a particular app and the other has a tiny ecosystem.
    2. Please send through the project if it is public, sounds interesting considering that you mentioned that runs also on mobile (so I guess it's crossplatform)?
      Replies (1)
      1. Not public at this time, but I can tag if/when I make it so.

        I use Flet⁰ for cross-platform work. The live dev tool itself is pure Python so it just works wherever Python is available.

        ⁰ https://flet.dev