Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Projectional Textual Editor?

  1. are there any textual, projectional Editors available? How do they work especially regarding updating subtrees?
  2. Are there any frameworks available for building them?
  3. Do you know any papers describing their design?
  4. How is this style of "parsing" called?
  5. Where do I start if I want to implement a textual projectional editor by myself?

    • I would prefer using EMF / ECore, but that's optional.
    • As far as I know, xText uses unidirectional transformations from text to model, or at least replaces Elements cascading / whole subtrees instead of updating them.
like image 242
Stefan K. Avatar asked Feb 01 '12 18:02

Stefan K.


People also ask

What is Projectional editing?

A projectional editor allows the user to efficiently edit the abstract syntax tree (AST) representation of the code. It can mimic the behavior of a text editor for textual notations, a diagram editor for graphical languages, a tabular editor for editing tables, and so on.

What is text editor and editor structure?

Structure editors can be used to edit hierarchical or marked up text, computer programs, diagrams, chemical formulas, and any other type of content with clear and well-defined structure. In contrast, a text editor is any document editor used for editing plain text files.

What is structure editor in compiler construction?

A structure editor takes as input a sequence of commands to build a source program . The structure editor not only performs the text creation and modification functions of an ordinary text editor but it also analyzes the program text putting an appropriate hierarchical structure on the source program.

What is editor structure in system Software?

Editor Structure It involves traveling, editing, viewing and display. Editing operations are specified by the user and display operations are specified by the editor. Traveling and viewing components are invoked by the editor or the user itself during the operations.


2 Answers

Concrete and Jetbrains MPS. Also read Concrete: Rich, Customizable DSL Editors for the Browser

like image 53
Aravind Yarram Avatar answered Oct 05 '22 05:10

Aravind Yarram


Grasp, a web-based platform for developing and publishing projectional editors.

like image 34
Andrei Palskoi Avatar answered Oct 05 '22 06:10

Andrei Palskoi