For my UU course STC I wrote a paper about building a hybrid editor. The abstract reads:
Manipulating an AST produced by a parser is usually reasonably straightforward. However, when converting the AST back to source code, comments and layout often get lost. Requiring that comments and layout are maintained as much as possible during mutations on the AST proves an interesting challenge, and its consequences on the design of the parser and AST are explored here.
HybridEditor.pdf, 272 KB.
Leave a comment!
Martijn loves to receive comments! Add yours by filling out the fields below.