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 (3)

  1. Laudable initiative.

    I've started something similar - environment that merges Glamorous Toolkit and Emacs with Haskell. It has data inspectors/view from GT (and of course allows for adding new) and carries full GHC for re-compiling and swapping modules on the fly.

    It's in reasonably working state but still far away from being releasable, might share one day :)

    Screenshots: https://img.axk.sh/g/70665/hamacs

    Replies (1)
    1. Looking at the screenshot it looks great, well done! To what extend you feel it is customisable?
      Replies (1)
      1. It's highly customizable, but I haven't tested to extents because some modules aren't live-swappable. Mostly those related to Kernel processing and the app itself (and I didn't try to override App and then re-run in to check if overrides are picking up). Reason for that is purely performance - swapping one module takes millisecond, but replacing a big module tree takes second and UX is just yuck.

        But other than that: user defined files are customizable, many elements are using typeclasses so extension is relatively easy and finally there's a Var type that allows overriding on various scope levels :)