Global Information Lookup Global Information

Structure editor information


A structure editor, also structured editor or projectional editor, is any document editor that is cognizant of the document's underlying 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.[clarification needed]

Typically, the benefits of text and structure editing are combined in the user interface of a single hybrid tool. For example, Emacs is fundamentally a text editor, but supports the manipulation of words, sentences, and paragraphs as structures that are inferred from the text. Conversely, Dreamweaver is fundamentally a structure editor for marked up web documents, but supports the display and manipulation of raw HTML text as well. Similarly, molecule editors typically support both graphical and textual input. Structure editing predominates when content is graphical and textual representations are awkward, e.g., CAD systems and PowerPoint. Text editing predominates when content is largely devoid of structure, e.g., text fields in web forms. WYSIWYG word processing systems such as Word, which appear to edit formatted text directly, are essentially structure editors for the underlying marked-up text.

In linguistics, syntax is the study of the structure of grammatical utterances, and accordingly syntax-directed editor is a synonym for structure editor. Language-based editor and language-sensitive editor are also synonyms. A language-based editor's features may be implemented by ad hoc code or by a formal grammar. For example, language sensitivity in Emacs is implemented in the Lisp definition of the edit mode for the given language. In contrast, language sensitivity in an XML editor is driven by a formal DTD schema for the given language.

Although structured editors allow the viewing and manipulation of the underlying document in a structured manner, the file format in which the document is stored on disk may or may not be heavily structured and may or may not be open or standardized (e.g., plain text versus Microsoft Word documents).

Structure editing has often been employed in source code editors, as source code is naturally structured by the syntax of the computer language. However, most source code editors are instead text editors with additional features such as syntax highlighting and code folding, rather than structure editors. The editors in some integrated development environments parse the source code and generate a parse tree, allowing the same analysis as by a structure editor, but the actual editing of the source code is generally done as raw text.

Each programming language typically has a well-defined syntax given by a context-free grammar, and accordingly the meaningful structural elements in source code written in the language correspond to the grammatical phrases in the text. Early syntax-directed source code editors included Interlisp-D (for Lisp’s limited syntax) and Emily[1] (for PL/I’s rich syntax).

A syntax-directed editor may treat grammar rules as generative (e.g., offering the user templates that correspond to one or more steps in a formal derivation of program text) or proscriptive (e.g., preventing a phrase of a given part of speech from being moved to a context where another part of speech is required) or analytic (e.g., parsing textual edits to create a structured representation). Structure editing features in source code editors make it harder to write programs with invalid syntax. Language-sensitive editors may impose syntactic correctness as an absolute requirement (e.g., as did Mentor[2]), or may tolerate syntax errors after issuing a warning (e.g., as did the Cornell Program Synthesizer[3]). Strict structured editors often make it difficult to perform edits that are easy to perform with plain text editors, which is one of the factors contributing to the lack of adoption of structured editing in some domains, such as source code editing.

Some syntax-directed editors monitor compliance with the context-sensitive constraints of a language such as type correctness. Such static-semantic constraints may be specified imperatively by actions (e.g., as in Gandalf[4][5][6]), or declaratively by an attribute grammar (e.g., as in the Synthesizer Generator[7][8]) or by unification in a many-sorted algebra (e.g., as in PSG [9]) or a logic program (e.g., as in Centaur[10] and Pan[11]), with compliance checked by the underlying editing machinery. Structured editors vary in the degree to which they allow their users to perform edits that cause the document to become syntactically or semantically incorrect.

It is common for a language sensitive editor to represent a document as a parse tree with respect to language's grammar, or as an abstract syntax tree (AST). For example, a DOM tree is essentially an AST with respect to a given DTD. Frequently, the textual view of that underlying tree is generated by prettyprinting the underlying tree. Editors associated with intentional programming[12] and language-oriented programming for general-purpose languages and domain-specific languages share many of the features of language-sensitive editors, but aim for greater separation between the underlying representation (the intention) and the surface representation (text in a programming language).

  1. ^ Hansen, Wilfred J. (1971). "User engineering principles for interactive systems". Proceedings of the Fall Joint Computer Conference FJCC 39. AFIPS. pp. 5623–532.
  2. ^ Donzeau Gouge, V.; Huet, G.; Kahn, G.; Lang, B. (July 1980). "Programming environments based on structured editors: The Mentor experience" (PDF). INRIA Research report no. 26.
  3. ^ Teitelbaum, T.; T. Reps (September 1981). "The Cornell Program Synthesizer: A syntax-directed programming environment". Communications of the ACM. 24 (9): 563–573. doi:10.1145/358746.358755.
  4. ^ Habermann, A. Nico; Notkin, David (1986). "Gandalf: Software Development Environments" (PDF). IEEE Trans. Softw. Eng. 12 (12): 1117–1127. doi:10.1109/TSE.1986.6313007. S2CID 11474349.
  5. ^ Medina Mora, Raul (1982). Syntax-directed editing--towards integrating programming environments. Pittsburgh, PA: Carnegie Mellon University (PhD Dissertation).
  6. ^ Kaiser, Gail Elaine (1985). Semantics for structure editing environments. Pittsburgh, PA: Carnegie Mellon University (PhD Dissertation).
  7. ^ Reps, T. (1984). Generating Language-Based Environments. Cambridge, MA: The M.I.T. Press. (Awarded the 1983 ACM Doctoral Dissertation Award.).
  8. ^ Reps, Thomas W.; Teitelbaum, Tim (1988). The Synthesizer Generator: A System for Constructing Language-Based Editors. Cambridge, MA: Springer-Verlag.
  9. ^ Snelting, Gregor; Henhapl, Wolfgang (1986). "Unification in many-sorted algebras as a device for incremental semantic analysis". Proceedings of the 13th ACM SIGACT-SIGPLAN symposium on Principles of programming languages (POPL). New York, NY: ACM Press. pp. 229–235.
  10. ^ Borras, P.; Clement, D.; Despeyrouz, Th.; Incerpi, J.; Kahn, G.; Lang, B.; Pascual, V. (1989). "CENTAUR: The System". "Proceedings of the ACM SIGSOFT/SIGPLAN Software Engineering Symposium on Practical Software Development Environments (PSDE). Vol. 24. New York, NY: ACM Press. pp. 14–24.
  11. ^ Ballance, Robert A.; Graham, Susan L.; Van De Vanter, Michael L. (1990). "Pan language-based editing system for integrated development". SDE 4: Proceedings of the fourth ACM SIGSOFT symposium on Software development environments. Irvine, CA: ACM Press. pp. 77–93.
  12. ^ Czarnecki, Krzysztof & Eisenecker, Ulrich (June 2000). Generative Programming: Methods, Tools, and Applications, Chapter 11 (Intentional Programming). Reading, MA: Addison-Wesley.

and 22 Related for: Structure editor information

Request time (Page generated in 0.8462 seconds.)

Structure editor

Last Update:

A structure editor, also structured editor or projectional editor, is any document editor that is cognizant of the document's underlying structure. Structure...

Word Count : 1190

Molecule editor

Last Update:

molecule editor is a computer program for creating and modifying representations of chemical structures. Molecule editors can manipulate chemical structure representations...

Word Count : 314

Editing

Last Update:

these roles overlap. The top editor at many publications may be known as the chief editor, executive editor, or simply the editor. A frequent and highly regarded...

Word Count : 2295

Managing editor

Last Update:

A managing editor (ME) is a senior member of a publication's management team. Typically, the managing editor reports directly to the editor-in-chief and...

Word Count : 314

HTML editor

Last Update:

highlighting. Some editors additionally feature templates, toolbars and keyboard shortcuts to quickly insert common HTML elements and structures. Wizards, tooltip...

Word Count : 1593

Text editor

Last Update:

full-screen editor's ease-of-use and speed (compared to the line-based editors) motivated many early purchases of video terminals. The core data structure in a...

Word Count : 3576

Organizational structure

Last Update:

An organizational structure defines how activities such as task allocation, coordination, and supervision are directed toward the achievement of organizational...

Word Count : 6304

Formula editor

Last Update:

A formula editor is a computer program that is used to typeset mathematical formulas and mathematical expressions. Formula editors typically serve two...

Word Count : 248

Hex editor

Last Update:

A hex editor (or binary file editor or byte editor) is a computer program that allows for manipulation of the fundamental binary data that constitutes...

Word Count : 864

Macromedia

Last Update:

infringed on Macromedia's patents for a draw-based editor for Web pages and a hierarchical structure editor for Web sites. In July 2002, Adobe and Macromedia...

Word Count : 1493

Syntax highlighting

Last Update:

compact Macintosh and automatically indented code to match its structure. Some text editors and code formatting tools perform syntax highlighting using pattern...

Word Count : 1495

010 Editor

Last Update:

010 Editor is a commercial hex editor and text editor for Microsoft Windows, Linux and macOS. Typically 010 Editor is used to edit text files, binary files...

Word Count : 871

Disk editor

Last Update:

editors can act as disk editors just opening block devices instead of regular files. Programmers can use disk editors to understand these structures and...

Word Count : 655

EditorConfig

Last Update:

in multiple editors (by the same person or by many). It defines rules for how to format different programming languages or other structured text files...

Word Count : 847

XML editor

Last Update:

An XML editor is a markup language editor with added functionality to facilitate the editing of XML. This can be done using a plain text editor, with all...

Word Count : 992

Markush structure

Last Update:

similarity," or (2) if the members of the Markush structure do not share a common use. Molecule editor Chemical file format List of patent claim types § Markush...

Word Count : 446

Copy editing

Last Update:

and Canada, an editor who does this work is called a copy editor. An organization's highest-ranking copy editor, or the supervising editor of a group of...

Word Count : 6103

Developmental editing

Last Update:

"significant structuring or restructuring of a manuscript's discourse". Developmental editors are a type of language professional. A developmental editor may guide...

Word Count : 1409

Subgraph isomorphism problem

Last Update:

term substructure search is used. A query structure is often defined graphically using a structure editor program; SMILES based database systems typically...

Word Count : 1851

Structured programming

Last Update:

Structured programming is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making extensive...

Word Count : 3717

Structure and agency

Last Update:

there is a standing debate over the primacy of structure or agency in shaping human behaviour. Structure is the recurrent patterned arrangements which...

Word Count : 2833

XML Schema editors

Last Update:

Although any text-based editor can be used to edit an XML Schema, a graphical editor offers advantages; allowing the structure of the document to be viewed...

Word Count : 621

PDF Search Engine © AllGlobal.net