Re:Pantograph: A Fluid and Typed Structure Editor
by conartist6 on Friday February 07, 2025 @02:20PM
(#42976397)
I'm taking my own stab at the same problem over in this org: https://github.com/bablr-lang/. It makes my head spin seeing the problem domain expressed in such a different way!
[ Parent
| on HN ]
Re:Pantograph: A Fluid and Typed Structure Editor
by rybla on Friday February 07, 2025 @02:42PM
(#42976640)
Looks interesting, but I'm having trouble finding where to start reading about what's involved. Do you have a suggestion?
Re:Pantograph: A Fluid and Typed Structure Editor
by conartist6 on Friday February 07, 2025 @04:30PM
(#42977704)
I keep trying to write docs but then I also keep making them out of date. The idea is that instead of each author of a tool like Pantograph building its own system of language support, (with each language author having to build support for each tool) our hope was that we could design some set of data structures, APIs, and capabilities which would allow a proper frontend/backend divide between languages and the the tools which consume their definitions.
The best place to get started is to see how CSTML works in the playground: https://bablr.org/playground. It's meant to be a self-describing format. It can be streamed, and we have a btree-backed storage format for it that makes incremental editing of immutable trees a breeze.