Abstract
Structure editors make syntax errors impossible, but they still allow construction of programs with incomplete semantics, leading to program states that cannot be evaluated. We introduce a structure editor calculus for a simple functional programming language that allows for incomplete programs. Our editor expressions may interleave construction and evaluation of programs and can thus describe the history of the development of a program. We extend our editor calculus with types and define a resource-aware type system that prohibits editor expressions introducing type errors in the abstract syntax tree and prove that the type system is sound.
Originalsprog | Engelsk |
---|---|
Titel | PEPM 2021 - Proceedings of the 2021 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, Co-located with POPL 2021 |
Antal sider | 13 |
Forlag | Association for Computing Machinery |
Publikationsdato | 18 jan. 2021 |
Sider | 1-13 |
ISBN (Elektronisk) | 9781450383059 |
DOI | |
Status | Udgivet - 18 jan. 2021 |
Begivenhed | 2021 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, PEPM 2021, co-located with the Annual Symposium on Principles of Programming Languages, POPL 2021 - Virtual, Online, Danmark Varighed: 18 jan. 2021 → 19 jan. 2021 |
Konference
Konference | 2021 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, PEPM 2021, co-located with the Annual Symposium on Principles of Programming Languages, POPL 2021 |
---|---|
Land/Område | Danmark |
By | Virtual, Online |
Periode | 18/01/2021 → 19/01/2021 |
Sponsor | ACM SIGPLAN |
Navn | PEPM 2021 - Proceedings of the 2021 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, Co-located with POPL 2021 |
---|
Bibliografisk note
Publisher Copyright:© 2021 ACM.