Abstract

A user-friendly programming system should have a user-friendly syntax; natural and systematic, easy to understand and use. Syntax should allow substitution of semantically similar constructs by each other. Syntax should also be flexible and allow several variants of syntactic notations to reduce the burden of memorizing rigid syntactic notations and to make it possible for a user to think more about ‘what’ instead of ‘how’. Nowadays programming languages, e.g. Ada, do not obey these principles. Their complexity is mainly caused by their nonsystematic and rigid syntax. This together with unformal and ambiguous presentation of syntax makes Ada difficult to use and Ada parsers inefficient. Uniform, natural and flexible syntax, where several variants of syntactic notations and abbreviations are allowed and minor syntactic errors automatically corrected, can be introduced by systematic top-down design using multi-level grammars. Systematic design and presentation allows greatly improved syntax without increasing size of the syntax grammar and the complexity of the parser.

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.