Examples
C++, Java, and Groovy examples
are included in the distribution.
The Groovy examples are shown here.
(Other than the obvious syntax differences between C++, Java, and Groovy,
there is little difference between the sets of examples.)
-
Hello world
What would any programming language be without having
this as its first example?
-
Vending machine
Simulates a simple vending machine
wherein you deposit coins
until you have enough to buy a particular item
then select the item.
-
Microwave oven
Simulates a simple microwave oven
wherein you set the cooking time, power level, then cook food.
(For now, please see the description of the oven's operation
and its graphical statechart
on the C++ example page.)