Abstract
A program written in a programming language can be broken down into syntactic components which are related by syntactic rules governing the language. Syntax-directed editors are editors which know and use the syntax of the language while editing a program. While text editors treat programs as text, syntax-directed editors use the underlying syntax of the programming language. A program is stored as an abstract syntax tree that is built by the editor from constructive commands issued by the programmer and the node depth level is the structure level in the program. The elements of the concrete representation of languages, such as keywords, punctuation marks, separators, terminators, etc. are not kept in the tree.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.