Compiling a simulation language in APL

  • Authors:
  • Manuel Alfonseca;Enrique Alfonseca;Juan de Lara

  • Affiliations:
  • -;-;-

  • 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 procedure used to build several compilers, written in APL and APL2, to translate two continuous simulation languages into APL and C+ +. The advantages and disadvantages of using APL to write a compiler are discussed. A compromise had to be found between performance (the model execution speed) and flexibility (the ease to modify parameters and test "what if" situations). The resulting compiler (an APL2 packaged workspace) has been used successfully to generate educational applications and in medical research.