Parasol Language Reference - bobjervis/parasol GitHub Wiki

Language Reference

The Parasol language is based on the C/C++/Java/... family of languages. The syntax choices are probably closer to Java, given that the designers of that language did a good job with features like enum's as classes, variable argument lists, no header files, etc. However, Parasol differs from Java in one enormous respect: Parasol does not support garbage collection.

Another important aspect of the design of Parasol that does not leap out immediately is that Parasol is designed to compile and run as a single step. In this respect, Parasol is more like scripting languages like Javascript, even though it is strongly typed. In fact, the choice of 'var' as a dynamically typed 'variant' type mimics Javascript's declaration syntax for variables. While compiling to a binary image is possible with Parasol (for maximum launch speed with large applications) the eventual goal is to devise techniques to allow run-time 'eval' as a feature.

Lexical Conventions

Grammar

Semantics