Published April 27, 2020 | Version v1
Conference paper Open

Partial Evaluation Based CPS Transformation: An Implementation Case Study

  • 1. Tata Consultancy Services

Description

We demonstrate the implementation of a partial evaluation based CPS transformation in the context of pLisp, a Lisp dialect and IDE for beginners. The CPS transformation employs a modular technique that unifies the treatment of the language constructs; we illustrate the transformation by explicating the conversion process for a single construct (viz., if). To the best of our knowledge, this framework is also novel in that the partial evaluation and CPS transformation techniques are implemented in the implementation language of the system itself (i.e., C), as opposed to bootstrapping from an existing Lisp dialect.

Files

els2020.pdf

Files (617.1 kB)

Name Size Download all
md5:ea1ca3589fc46a399657720bd4655652
617.1 kB Preview Download

Additional details

Related works

Is compiled by
Conference paper: 2677-3465 (ISSN)