u/Apart_Ebb_9867

I'm looking to build a REPL for an interpreted language of mine (think python, so multiline, indentation sensitive input requiring autocompletion from a LSP, syntax highlighting and the such). I then need to display returned values nicely: graphs, tables, text, python values.

Think something like a Jupiter notebook where the only cell you can edit is the last one and you always get a new one, with the previous ones become read-only (and probably summarized rather than displayed in full). Or closest yet to what I need, something like the UIs for agentic AI (codex, claude code etc)

Is there anything open source that does something of the above?

reddit.com
u/Apart_Ebb_9867 — 14 days ago
▲ 11 r/emacs+1 crossposts

Back to LaTeX after a long time and I have a problem I don't seem to find a solution for.

I'm working on a document that has a lot of code examples in a language very similar to Python (starlark). The code is inside `\begin{starlark}...\end{starlark}`, which in turn is a new minted environment. The language is indent-sensitive and maintaining alignment manually is a pain.

Is there a way to edit those blocks in a separate buffer in python mode, similar to what org-mode does? I tried a few multi-mode packages (mmm-mode and polymode), but at least the way I tried they seemed to break AUCTeX.

Anyhow, if anybody has a small setup fragment or can point me in the right direction it would be very much appreciated.

reddit.com
u/Apart_Ebb_9867 — 16 days ago