Remix.run Logo
▲ Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run(github.com)
39 points by RiccardoSottini 3 hours ago | 37 comments
▲bobowzki 2 hours ago | parent | next [-]

I did my own emacs clone I call amacs, https://github.com/ast/amacs

LLMs have really changed what experiments you do...

▲stschaef 19 minutes ago | parent | next [-]

Very cool! I gotta take a closer look at this later. I have my own slopped emacs inspired editor written in rust as well, configured in Racket

With a modern browser baked in, so that I can totally phase out my use of Zen (or whatever other browser). It’s pretty much the only program I use anymore

I’ve yet to share it publicly, but I’m quite pleased with how flexible LLMs are for making personalized software

I’m preparing to push it publicly, but I’m not even sure what the point would be. I’m not intending to maintain it for others. I’d even go as far to advocate for everyone to will their own tools into existence rather than use it

▲RiccardoSottini 9 minutes ago | parent [-]

Please once confident feel free to share, as I am curious to see what others are doing supported by AI in the malleable software realm

▲RiccardoSottini an hour ago | parent | prev | next [-]

Super cool! How challenging was it to work on it? What are the next functionalities you plan to implement

▲bobowzki 41 minutes ago | parent [-]

It's mostly an experiment in what you can do with LLMs. I'm just steering it in the direction I want, so I can't really take credit for it.

It feels pretty feature complete to be honest, but there's always things you can add.

I find it quite amazing you can do your own editor with its own Scheme, LSP support, GPU rendering, tramp like, threading etc in just a few days.

▲RiccardoSottini 30 minutes ago | parent [-]

I know, right... I have mixed feelings about how "easy" it is to steer LLMs into delivering intrinsically complex features and software in just a couple of days.

the part of me that loves shipping cool stuff loves this, because the time between an idea and making it real gets crunched.

the other part of me, the one that loved programming because I'd think through every single if statement, is a bit disappointed.

one idea: since you said most of the features you had in mind are "complete", would it be worth making the project more "open", so you could connect it to Claude or Copilot through MCP and let them drive what it runs? just a thought

▲bobowzki 27 minutes ago | parent [-]

The MCP part is already there, I use it via Claude Code. That's how I work on it.

It also has a built in agent so you can use Claude directly in it.

▲RiccardoSottini 11 minutes ago | parent [-]

Great, I will then check it out :)

▲soon_to_be_sb 18 minutes ago | parent | prev [-]

How much did it cost?

▲gavinray 2 hours ago | parent | prev | next [-]

We've come full circle back to Smalltalk

Application environments like Smalltalk that can modify themselves on the fly while running always seemed uniquely suited to AI, I've thought

▲RiccardoSottini an hour ago | parent [-]

Someone did suggest me not to only allow for Clojure Lisp, but also Smalltalk due to the fact that it resolves around the same concept of meallability on software, along to the fact that is token efficient due to the syntax

▲koe123 an hour ago | parent | prev | next [-]

Has anyone made a AI coding harness that uses lisp to essentially morph into any software under the sun? Quite a compelling idea I feel

▲evanjrowley 36 minutes ago | parent | next [-]

Autolith does this. I've watched GLM 5.2 morph it in real-time.

https://news.ycombinator.com/item?id=49934573

https://autolith.rocks/

https://github.com/lambda-symbolics/autolith

▲RiccardoSottini 23 minutes ago | parent [-]

Thanks for sharing this - I didn't know about this project! The concepts used in here are something I actually need for another project to manage adaptable agents

▲RiccardoSottini 41 minutes ago | parent | prev | next [-]

Yes - well, that's roughly what I've been trying with AffrescoUI. Each app is a Lisp program that can be edited while it runs - a core architecture feature is modularity and data safety (migrations maintain consistency and allow not to have conflicts)

▲ynniv an hour ago | parent | prev [-]

yep. https://github.com/modus-lisp/operandi

and the rest of the owl: https://modus-lisp.github.io/

▲RiccardoSottini 40 minutes ago | parent [-]

Super cool project!!!

▲ynniv 18 minutes ago | parent [-]

lisp is back

▲RiccardoSottini 10 minutes ago | parent [-]

In the era of AI, Lisp will be a true winner indeed, as in many dreamed since its release

▲whacked_new 2 hours ago | parent | prev | next [-]

I'm a clojure fan so you have my attention. I also use bb (https://getbb.app/) for almost the exact same use case. I tried glamorous toolkit (smalltalk) and found bb to just give a smoother experience. No data, but I suspect the mere fact that it uses TypeScript makes agents more effective working with bb.

The untyped, macro-full code like https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... gives me pause. It seems like it needs a pretty strong LLM to get things right?

▲RiccardoSottini an hour ago | parent [-]

Super cool. Yes bb follows the same concept when it comes to having malleable software - imagine having the same type of functionalities to other types of software that you use daily other than an editor.

Agreed, I would say that the minimum requirement for an LLM is Sonnet 5.5 when it comes to such clojure maintained applications - Next step for me is to find ways to simplify the code of the different examples I have created while maintaining the same features on a surface level for the end user.

▲manoDev 2 hours ago | parent | prev | next [-]

A lisp runtime will be the ultimate environment for AI.

▲RiccardoSottini an hour ago | parent [-]

I know, right? in the past Lisp had real limits on efficiency and speed, but most of those have been overcome since then. Most importantly, Lisp has a tiny, uniform syntax where code is just data, and that (along with plenty of other reasons) makes it the perfect environment for malleable software and AI

▲tconsulting an hour ago | parent | prev | next [-]

I have my own start up on K8s on bare-metal but since it is based on NixOS I can run without kubernetes a Clickhouse Cluster, Slurm, PostgreSQL cluster and more https://kcorehypervisor.com/index.html

▲skeledrew 2 hours ago | parent | prev | next [-]

I'm doing this with Python. Made a tool that allows easy live dev in Python processes anywhere it's running, including on mobile.

▲RiccardoSottini an hour ago | parent | next [-]

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)?

▲Imustaskforhelp 2 hours ago | parent | prev [-]

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)

▲skeledrew 2 hours ago | parent [-]

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.

▲RiccardoSottini 29 minutes ago | parent [-]

What were the pros/cons you have experienced by using Python for such a project?

▲vatsachak an hour ago | parent | prev | next [-]

I did this for financial consulting!

https://rowview.app/

▲RiccardoSottini an hour ago | parent [-]

Great! It seems that some of the concepts when it comes to malleable software are followed by your project too! Quick question: do you think that your project will also expose an MCP so it can be used from Claude / Copilot as well? So, the core/framework implementation + server is implemented by your side, however, you can have it plugged with other services too.

▲tester89 2 hours ago | parent | prev [-]

What is the benefit of using clojure now? Used to be a big Lisp head before AI, but with AI I feel like using widely-used statically-typed, strongly-typed languages is better over Lisp, for the training set and validation benefits.

▲avtar an hour ago | parent | next [-]

Listened to this a couple days ago: https://m.youtube.com/watch?v=tzzg8CVkl2A

Besides immutability and iterating with the repl, another point made was apparently more efficient context window usage due to fewer lines of Clojure code compared to alternatives.

▲RiccardoSottini an hour ago | parent [-]

Yes! That's the reason why I chose it - due to iterations with repl and extremely efficient context window usage / token expenditure. Effectively, for the use case scenario of my project, Clojure can express logic and functionalities that are shown on screen with just a couple of lines of code, removing all the boilerplate/overhead code.

▲whacked_new 2 hours ago | parent | prev [-]

It looks like they are just borrowing clojure syntax (I like), and perhaps the culture of supporting hot code reload (I also like), but I share the same reservations.

▲RiccardoSottini an hour ago | parent [-]

Both are valid points and some of the reasons why + the fact that it is super "token friendly" allowing to express logic and have functionalities expressed in just a couple of lines

▲whacked_new 38 minutes ago | parent [-]

obv I could clone and ask an AI but since you're here, https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... is a limited syntax definition for the built-in markdown parser?

I went down a similar path using smalltalk. Then as I started to play whack-a-mole with UI edge cases (live markdown editor), the loop became tedious because I had to use the app to find the interaction bugs (what to do about link rendering when the cursor enters, leaves, and when exactly to prettify and unprettify), while suspecting that this has been solved 100x over in javascript land. Sure enough, when I moved to bb, I had to pull in a lot of libs, which is a lot of pregenerated tokens, but those were battle tested tokens.

I guess it has to be done though, as long as you bring a new stack.