Frame-based editor
![]() | Review waiting, please be patient.
This may take 2–3 weeks or more, since drafts are reviewed in no specific order. There are 725 pending submissions waiting for review.
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources Reviewer tools
|
{{#ifeq:Frame-based editor|AFC submission|
|[[Category:Pending AfC submissions|P{{#if: |[[Category:Pending AfC submissions|P{{#if:
Frame-based editor | |
---|---|
![]() |
A frame-based editor is a specific kind of structure editor, typically used as a source code editor for the manipulation of computer programs. Program elements are represented by frames, which form the standard atomic unit of manipulation in the editor.
Frames in the editor represent nodes in the underlying syntax tree of the language being written, such as simple statements, control structures, or methods, and are manipulated as single entities in the user interface.
The representation of frame-based programs on screen makes use of graphical and textual elements. Most fundamentally, scope is presented by graphical boxes (the "frames" that give these editors their name), but other graphical elements, including color and graphical presentation, are also employed. Manipulation of frames in frame-based editors is typically supported equally via mouse-based gestures and keyboard manipulation.
Origin
The concept of Frame-based editing was developed at King's College London as a combination of features of standard text editors and block-based editing systems, such as Blockly and Scratch[1]. The concept attempts to merge beneficial aspects of block and text programming in a single system[2].
Relation to block-based editors and text editors
Frame-based editors are technically hybrid structure/text editors which support editing at the higher level of the syntax tree in structure mode, while allowing expression edits in text mode[3]. They copy a number of concepts from block-based editors, such as the graphical representation of statements, which are manipulated as atomic units, presented graphically with distinct colouring, can be dragged-and-dropped with mouse gestures, and the provision of statement palettes from which statements may be chosen.
Other elements are modelled on traditional text editors, such as display of the program as linear text, keyboard-driven editing, and free-form editing at the expression level.
An academic study has compared effectiveness of frame-based editors to text editors for beginning programmers[4].
Application
Currently, frame-based editors are used in educational systems to facilitate entry into programming for novice programmers, or to support the transition for learners from educational block-based systems, such as App Inventor, Scratch, Snap!, or Alice, to professional, text based programming environments[5].
Theoretically, these types of editors can be used for manipulation of any structured text, including computer programs, web pages, and XML files. The editor benefits especially non-professional users, such as novices or casual programmers, due to its support for discoverability of statements and reduction of syntax errors.
Examples
An example of a frame-based editor is the editor for the Stride programming language[6]. Both the BlueJ and Greenfoot educational development environments support frame-based editing.
References
- ^ "Kölling, Brown & Altadmri: Frame-Based Editing". Retrieved 2019-01-27.
- ^ "Combining the Best of Blocks and Text Programming".
- ^ "Frame-Based Editing (web site)".
- ^ http://twistedsquare.com/Frame-Evaluation.pdf
- ^ "Frame-Based Editing: Easing the Transition from Blocks to Text-Based Programming".
- ^ "The Stride Programming Language". Retrieved 2019-01-27.