FliPpr: A prettier invertible printing system

17Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

When implementing a programming language, we often write a parser and a pretty-printer. However, manually writing both programs is not only tedious but also error-prone; it may happen that a pretty-printed result is not correctly parsed. In this paper, we propose FliPpr, which is a program transformation system that uses program inversion to produce a CFG parser from a pretty-printer. This novel approach has the advantages of fine-grained control over pretty-printing, and easy reuse of existing efficient pretty-printer and parser implementations. © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

Matsuda, K., & Wang, M. (2013). FliPpr: A prettier invertible printing system. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7792 LNCS, pp. 101–120). https://doi.org/10.1007/978-3-642-37036-6_6

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free