Abstract

Abstract syntax is a useful mechanism in defining the semantics of programming languages as it relieves the semantic definition from text handling and syntactic analysis and shows clearly the semantically essential parts of program texts. Abstract syntax is usually required to have a high quality semantic content and so a straightforward forming of abstract syntax from a concrete one may lead to many errors. This paper introduces three error-prone constructs: parentheses that have an uncommon meaning, ambiguous concrete syntax, and empty lists. The first two errors originate in problems with concrete syntax while the last one is due to a weakness of some formalisms for abstract syntax.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.