PLS: Programming Language for Simulations

I describe design and implementation of a programming language PLS for writing simulations of physical processes. PLS supports descriptions of dynamically changing components of systems and simplifies the specifications of interactions between multiple objects. The language is implemented as a translator from Pascal. I give EBNF syntax of the language, the translation rules from PLS to Pascal, and present an example of a PLS program for simulation of n-body gravitational interaction.

Citation

Viktor Kuncak. PLS: Programming language for simulations. In Proceedings of the Petnica Science Center Seminar '93, pages 111--146. Science Center Petnica, Valjevo, Yugoslavia, 1993. in Serbian.

BibTex Entry

@inproceedings{Kuncak93PLS,
  author = {Viktor Kuncak},
  title = {{PLS}: Programming Language for Simulations},
  booktitle = {Proceedings of the Petnica Science Center Seminar '93},
  pages = {111--146},
  year = 1993,
  publisher = {Science Center Petnica, Valjevo, Yugoslavia},
  note = {in Serbian},
  abstract = {
I describe design and implementation of a programming language PLS for 
writing simulations of physical processes.  PLS supports descriptions of dynamically
changing components of systems and simplifies the specifications of interactions
between multiple objects.  The language is implemented
as a translator from Pascal.  I give EBNF syntax of the language,
the translation rules from PLS to Pascal, and present an
example of a PLS program for simulation of $n$-body gravitational interaction.
}
}