690 B
690 B
Claro Checker
claro check file.claro looks for beginner mistakes before running a program.
The current checker catches:
- unknown commands
- command typos such as
PRINTorPRNT - missing required words in older compatibility forms
- missing block endings such as
END,ENDIF,DONE,LEARNED, andENDTRY ELSEwithout anIFCATCHwithout aTRY- common misspelled variables
- variables created by
ASK,GET,COUNT,READ,PARSE,MAKE,FOR, andFOR EACH
The checker is meant to be friendly, not scary. It is still not a complete static analyzer; use claro typecheck for the stronger type-checking pass documented in ADVANCED_STATIC_TYPING.md.