Skip to main content
Kent Academic Repository

FliPpr: A Prettier Invertible Printing System

Matsuda, Kazutaka, Wang, Meng (2013) FliPpr: A Prettier Invertible Printing System. In: 22nd European Symposium on Programming. . pp. 101-120. ISBN 978-3-642-37035-9. E-ISBN 978-3-642-37036-6. (doi:10.1007/978-3-642-37036-6_6) (KAR id:47479)

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.

Item Type: Conference or workshop item (Paper)
DOI/Identification number: 10.1007/978-3-642-37036-6_6
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 75 Electronic computers. Computer science
Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Meng Wang
Date Deposited: 01 Mar 2015 00:26 UTC
Last Modified: 16 Nov 2021 10:19 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/47479 (The current URI for this page, for reference purposes)

University of Kent Author Information

Wang, Meng.

Creator's ORCID:
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.