Writing a compilers compiler in APL

  • Authors:
  • Enrique Alfonseca

  • Affiliations:
  • Universidad Autonoma de Madrid, Espana

  • Venue:
  • APL '98 Proceedings of the APL98 conference on Array processing language
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes the special capabilities of APL2 for the construction of compilers and translator writing systems (TWS). To that purpose, a TWS has been written in APL2, which takes as input a complete description of a language including an attribute grammar, in extended Backus normal form, and the semantic function associated to each rule of the grammar, written in APL2. The output of the TWS is a compiler, generated directly inside the workspace and ready to compile source code written in the provided language.