Lecture 4: Syntactic Editor Services
In this lecture we study applications of syntax definitions in various syntactic editor services, tools that are applied by integrated development environments (IDEs) to assist programmers, such as syntax checking, syntax coloring/highlighting, formatting, and code completion. In particular, we look into how such tools can be automatically and generically be generated from syntax definitions.
Topics
- syntactic editor services
- pretty-printing, template productions
- syntactic completion
Slides
Reading material
-
Tobi Vollebregt, Lennart C. L. Kats, Eelco Visser. Declarative specification of template-based textual editors. In Anthony Sloane, Suzana Andova, editors, International Workshop on Language Descriptions, Tools, and Applications, LDTA ‘12, Tallinn, Estonia, March 31 - April 1, 2012. pages 1-7, ACM, 2012. https://doi.org/10.1145/2427048.2427056
-
Luis Eduardo de Souza Amorim, Sebastian Erdweg, Guido Wachsmuth, Eelco Visser. Principled syntactic code completion using placeholders. In Tijs van der Storm, Emilie Balland, Dániel Varró, editors, Proceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering, Amsterdam, The Netherlands, October 31 - November 1, 2016. pages 163-175, ACM, 2016. https://doi.org/10.1145/2997364.2997374