7 ms·
Depending on how you count keywords, SQL has over 400. See https://github.com/ballista-compute/sqlparser-rs/blob/main/src/dialect/keywords.rs https://github.com
by eesmith 5y ago
Depending on how you count keywords, SQL has over 400. See https://github.com/ballista-compute/sqlparser-rs/blob/main/src/dialect/keywords.rs https://github.com/ballista-compute/sqlparser-rs/blob/main/s... .
SQLite has 147 keywords - https://www.sqlite.org/lang_keywords.html https://www.sqlite.org/lang_keywords.html .
- nn3 5y agoCOBOL has over 300 too
- eesmith 5y agoI count 417 reserved words at https://www.ibm.com/docs/en/iis/9.1?topic=words-cobol-reserved https://www.ibm.com/docs/en/iis/9.1?topic=words-cobol-reserv... . I see there's "ZERO", "ZEROES", and "ZEROS" - I didn't realize that both plurals are acceptable in English! - https://english.stackexchange.com/questions/3824/what-is-the-plural-form-of-zero https://english.stackexchange.com/questions/3824/what-is-the... . My favorite reserved word on that list is "KANJI". From https://www.ibm.com/docs/en/cobol-zos/4.2?topic=expressions-class-condition https://www.ibm.com/docs/en/cobol-zos/4.2?topic=expressions-... : > The class condition determines whether the content of a data item is alphabetic, alphabetic-lower, alphabetic-upper, numeric, DBCS, KANJI, or contains only the characters in the set of characters specified by the CLASS clause as defined in the SPECIAL-NAMES paragraph of the environment division.