Most conventional programming languages allow you to do two things: define a collection of objects, and then manipulate those objects using a group of predefined instructions. The language presented in this section, the Watson Graphical Language or WGL, recognizes seven types of data objects and seven kinds of instructions. It can be used to draw pictures that are composed of points, lines, polygons, and circles. The Watson Graphical Language is also capable of producing primitive animation.
This section describes the features of the language: its data types and instructions. Don’t worry if you don’t immediately understand the purpose of some of the language features. Section 6.5 will show you some example programs and describe how they were created. That section should clear up any confusion about how you would actually use the language.