Design and Implementation of the L+C Modeling Language

Radoslaw Karwowski and Przemyslaw Prusinkiewicz
Department of Computer Science, University of Calgary
Calgary, Canada T2N 1N4
Email: radekk|pwp@cpsc.ucalgary.ca

Abstract

L-systems are parallel grammars that provide a theoretical foundation for a class of programs used in the simulation of plant development and procedural image synthesis. In particular, the formalism of L-systems guides the construction of declarative languages for specifying input to these programs. We outline key factors that have motivated the development of L-system-based languages in the past, and introduce a new language, L+C, that addresses the shortcomings of its predecessors. We also describe a simulation program, lpfg, which makes it possible to execute models specified in L+C. To this end, L+C programs are translated into C++, compiled into a DLL, and linked with lpfg at runtime. The use of this strategy simplifies the implementation of the modeling system.

Reference

R. Karwowski, P. Prusinkiewicz: Design and implementation of the L+C modeling language. Electronic Notes in Theoretical Computer Science 86 (2), pp 134-152.

Download from the publisher's site, or download from here (PDF, 400kb).

Back to Publications