Add docs/ERRORS.md from Claro v1.17.26 zip

This commit is contained in:
RayPals
2026-06-01 00:53:27 +02:00
parent 6efc088d9a
commit 7ef0541d8a
+29
View File
@@ -0,0 +1,29 @@
# Claro Errors
Claro tries to report mistakes in beginner-friendly language.
Examples:
```text
I do not know the command "PRNT". Did you mean "SAY"?
```
```text
SET needs TO.
Try:
SET name TO "Alex"
```
```text
IF block opened here is missing ENDIF
```
```text
I do not know the variable "socre" yet. Did you mean "score"?
```
For safer learning, run this before running a new program:
```bash
./claro check my_program.claro
```