Proceedings of the 11th ACM SIGPLAN International Conference on Software Language Engineering 2018
DOI: 10.1145/3276604.3276607
|View full text |Cite
|
Sign up to set email alerts
|

Declarative specification of indentation rules: a tooling perspective on parsing and pretty-printing layout-sensitive languages

Abstract: In layout-sensitive languages, the indentation of an expression or statement can influence how a program is parsed. While some of these languages (e.g., Haskell and Python) have been widely adopted, there is little support for software language engineers in building tools for layout-sensitive languages. As a result, parsers, pretty-printers, program analyses, and refactoring tools often need to be handwritten, which decreases the maintainability and extensibility of these tools. Even state-of-the-art language … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
1
1
1

Relationship

1
2

Authors

Journals

citations
Cited by 3 publications
(1 citation statement)
references
References 14 publications
0
1
0
Order By: Relevance
“…An alternative approach to disambiguation is to take into account the layout of a program. For that purpose, SDF3 supports the use of layout constraints, which pose requirements on the two dimensional shape of programs [17,54]. We illustrate layout constraints with layout-sensitive disambiguations of the Match and IfE productions in Figs.…”
Section: Expfun = "Fun" Layout? Id* Layout? "->" Layout? Expmentioning
confidence: 99%
“…An alternative approach to disambiguation is to take into account the layout of a program. For that purpose, SDF3 supports the use of layout constraints, which pose requirements on the two dimensional shape of programs [17,54]. We illustrate layout constraints with layout-sensitive disambiguations of the Match and IfE productions in Figs.…”
Section: Expfun = "Fun" Layout? Id* Layout? "->" Layout? Expmentioning
confidence: 99%