Affiliation:
1. Delft University of Technology, Delft, Netherlands
Abstract
Syntax definitions are pervasive in modern software systems, and serve as the basis for language processing tools like parsers and compilers. Mainstream parser generators pose restrictions on syntax definitions that follow from their implementation algorithm. They hamper evolution, maintainability, and compositionality of syntax definitions. The pureness and declarativity of syntax definitions is lost. We analyze how these problems arise for different aspects of syntax definitions, discuss their consequences for language engineers, and show how the pure and declarative nature of syntax definitions can be regained.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
33 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. ★piler: Compilers in search of compilations;Journal of Systems and Software;2024-06
2. Parglare: A LR/GLR parser for Python;Science of Computer Programming;2022-02
3. Multi-purpose Syntax Definition with SDF3;Software Engineering and Formal Methods;2020
4. Declarative specification of indentation rules: a tooling perspective on parsing and pretty-printing layout-sensitive languages;Proceedings of the 11th ACM SIGPLAN International Conference on Software Language Engineering;2018-10-24
5. Deep priority conflicts in the wild: a pilot study;Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering;2017-10-23