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 assumesworks if you're a good typist, finding whole words no more trouble to type than symbols. (Having a lot of practice in typing English, I (eekee) agreesfind becauseit hemuch findsless trouble to type than other languages. I find it hard to omit the spaces in both CamelCase and underscore-joined words, and I dislike symbols as I find using the shift key ratherto be uncomfortable. CAL plain English only requires me to use 4 shifted symbols; colon double-quotes and the two parentheses.)
 
"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.