CPL - Chalmers Publication Library
| Utbildning | Forskning | Styrkeområden | Om Chalmers | In English In English Ej inloggad.

FliPpr: A Prettier Invertible Printing System

Kazutaka Matsuda ; Meng Wang (Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers))
European Symposium on Programming Vol. 7792 (2013), 101-120,
[Konferensbidrag, refereegranskat]

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.



Den här publikationen ingår i följande styrkeområden:

Läs mer om Chalmers styrkeområden  

Denna post skapades 2013-03-19. Senast ändrad 2013-03-19.
CPL Pubid: 174795