- Your program must contain all your language's keywords. Ideally, you should have each one exactly once (see Scoring). Of course, this means your language must actually have keywords, so esoteric languages are probably excluded, but just in case...
- Any language used must have a dedicated Wikipedia article created more than one month ago.
- The keywords in your program must be lexed as keywords and parsed as keyword statements or expressions (i.e. no containing them within strings or comments).
A "keyword" is defined according to the language's specification or documentation if it has no specification, and must additionally have a defined purpose within the language (Java programmers need not include
const). Your language might distinguish "keywords" from "reserved identifiers" or something similar; only those lexemes designated as keywords are required.
So as not to punish languages with more keywords, your score is
l - k + 3r
Where l is the length of your program in bytes, k is the combined length of all the keywords you used, and r is the combined length of any keywords that occurred more than once. So if your language has only one keyword,
for, and your solution is
for for for, your score is 11 - 9 + 3(6) = 20.