Lorgnette: Creating Malleable Code Projections
Abstract
Projections of computer languages are tools that help users interact with representations that better fit their needs than plain text. We collected 62 projections from the literature and from a design workshop and found that 60% of them can be implemented using a table, a graph or a form. However, projections are often hardcoded for specific languages and situations, and in most cases only the developers of a code editor can create or adapt projections, leaving no room for appropriation by their users. We introduce lorgnette, a new framework for letting programmers augment their code editor with projections. We demonstrate five examples that use lorgnette to create projections that can be reused in new contexts. We discuss how this approach could help democratise projections and conclude with future work.
- Venue
- UIST 2023
- Volume
- Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology
- DOI
- 10.1145/3586183.3606817
- https://dl.acm.org/doi/pdf/10.1145/3586183.3606817
- Anthology ID
2023.uist.105
Cite
@inproceedings{gobert-beaudouinlafon-2023-lorgnette,
title = {{Lorgnette: Creating Malleable Code Projections}},
author = {Camille Gobert and Michel Beaudouin-Lafon},
booktitle = {Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology},
isbn = {9798400701320},
year = {2023},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3586183.3606817},
url = {https://doi.org/10.1145/3586183.3606817},
abstract = {Projections of computer languages are tools that help users interact with representations that better fit their needs than plain text. We collected 62 projections from the literature and from a design workshop and found that 60\% of them can be implemented using a table, a graph or a form. However, projections are often hardcoded for specific languages and situations, and in most cases only the developers of a code editor can create or adapt projections, leaving no room for appropriation by their users. We introduce lorgnette, a new framework for letting programmers augment their code editor with projections. We demonstrate five examples that use lorgnette to create projections that can be reused in new contexts. We discuss how this approach could help democratise projections and conclude with future work.}
}