The Deuce Editor Architecture (2014)

web.archive.org

34 points by EdwardCoffin 13 days ago

Deuce is an Emacs-like editor, for the Dylan programming language. It is a descendant of ZWEI, the Lisp Machine's Emacs, and made some interesting implementation decisions in representing the contents of its buffers, which made it easy to then make some powerful features, most notably composite buffers, which are pieced together fragments pulled in from different files, and changes in the composite buffer can then be pushed out to all the source files.

Some more details beyond the above link can be found in this comment [2] from comp.lang.dylan by Scott McKay, the original author of Deuce

[2] https://web.archive.org/web/20221002093520/https://groups.go...

agumonkey 11 days ago

Side note, I find old mailing list discussions like these very enjoyable. Kinda like good old c2.com wikiwiki. I miss that a lot nowadays.

082349872349872 12 days ago

Anyone done something similar with lenses/optics?

(also FileMaker/BeeBase/etc. Once upon a time, my group dogfooded our integrated webserver-database to build a bug tracker; with all the bandwidth floating around these days maybe Structural Regular Expressions à la acme would be an even quicker and dirtier way to get the same functionality with flat files?)

mzs 11 days ago
  • EdwardCoffin 11 days ago

    I do not think this is the same thing. The links I posted were about the Deuce text editor for the Dylan programming language, which was implemented using DUIM, the Dylan successor to CLIM (itself a successor to Dynamic Windows). The links above seem to be for a different editor that just happens to also be named Deuce. Perhaps it was inspired by the other Deuce, but since none of the citations make mention of it I think the name is just a coincidence.

    Edit: in the course of revisiting the links I posted, I found the expansion of the acronym Deuce: Dylan Environment Universal Code Editor. I didn't find confirmation that it was implemented in DUIM (successor to CLIM, successor to Dynamic Windows which I believe ZWEI used), but I am pretty sure that is so.

    • mzs 11 days ago

      Yes those were inspired by deuce, here is open dylan's version: https://github.com/dylan-lang/opendylan/tree/master/sources/...

      • EdwardCoffin 11 days ago

        I don't really see the relevance of either of your comments here.

        Your first comment suggests that people interested in the Dylan language's text editor Deuce could try it online, then you give links to an editor that is a layer on the Ace editor whose only relation is that it is also named Deuce - it is not the editor being discussed.

        This might have been a simple misunderstanding, but your second comment makes me think that you realize it is not the same editor, but claim that it was inspired by the editor under discussion. Looking at the links you've provided gives me no reason to believe the authors of the other Deuce even knew about the one under discussion.

        I think it is pretty disingenuous to leave that first comment up, directing people to try the editor out without mentioning that it is in fact a totally different editor.