Plain English Programming: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
→Compiling with CAL: Rewrite for clarity and additional info |
→Language: Expand on the ease of typing this language |
||
Line 15:
The language and its documentation are almost entirely free of jargon and symbols other than a subset of English punctuation. Only the period, comma, colon, and semicolon are commonly used. The minus sign functions as a unary minus for negating variables.
The Order's blog makes a case for the language being no more verbose than C or C++. This
"Not" and the suffix "n't" are recognized and understood as you'd expect.
Line 21:
Some words are ignored. Development of the language started with the realization that human infants ignore a lot of words when they're starting to learn to understand language.
Specifying parameters is more verbose than in human English. Example: a number and another number and a third number and a fourth number. It could be shortened, but typically, you set up a structure and pass that to a routine. For instance, you set up a box and then "Draw the box with the black color." Routines with more than 2 parameters are rare in CAL-4700.
Wording tends to differ from English in some other ways too. For example, "Draw the box with the black color", rather than "Draw the box in black." FIXME: check if "in/into/to" is interpreted differently from "with". If not, the latter example is possible.
|