Anonymous user
User talk:Mbishop: Difference between revisions
m
→BOLD symbols and reserved words as typically printed: fix typo
m (→BOLD symbols and reserved words as typically printed: fix typo) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 12:
Actually it isn't to bad. There are several types of identifiers.
* BOLD - BEGIN/EXIT/END, IF/THEN/ELSE/FI, CASE/IN/OUT/ESAC, FOR/FROM/BY/TO/WHILE/DO/OD, MODEs and OPerators. Normally <b>bolded</b>.
* OPerators - can be special characters, see below.
* names - alphanumeric starting with alphabetic, spaces in the middle are ignored. Normally <i>italiced</i>.
Line 38:
You will have fun with these:
The ∨, ∧, ¬, ≠, ≤, ≥, ×, ÷, ⌷, ↑, ↓, ⌊, ⌈ and ⊥ characters can be found on the [[
Notes:
* Unicode character "DECIMAL EXPONENT SYMBOL 23e8" is also permitted. eg In Algol "1 million" can be 1 000 000 or 1e6 or even 1⏨6.
* binary/nibble/octal/hexidecimal literals are of the form
====BOLD symbols and reserved words as typically printed====
Line 57:
'''of''', '''at''' "@", '''is''' ":=:", '''isnt''' ":≠:",
Builtin "constants"†:
'''true''', '''false''', '''empty''', '''nil''' "°", '''skip''' "~" (also "?"),
Comments and Pragmats†:
'''co''' "¢", '''comment''' "¢", '''pr''', '''pragmat''',
|