Updated docs to new version

This commit is contained in:
2026-07-12 07:55:13 -04:00
parent 59fec35aea
commit b419a1c7c7
7 changed files with 79 additions and 23 deletions
+2 -1
View File
@@ -19,13 +19,14 @@ true // Boolean
false // Boolean
"hello" // String
(1, true, "x") // Tuple
[1, 2, 3] // Array
```
### Identifiers & Keywords
Keywords are reserved and cannot be used as identifiers:
`if`, `else`, `fn`, `for`, `while`, `match`, `return`, `break`, `continue`, `struct`, `enum`, `class`, `trait`, `impl`, `use`, `pub`, `mut`, `let`, `true`, `false`, `dyn`, `loop`, `unsafe`, `override`, `const`, `type`
`if`, `else`, `fn`, `for`, `while`, `match`, `return`, `break`, `continue`, `struct`, `enum`, `class`, `trait`, `impl`, `use`, `pub`, `mut`, `let`, `true`, `false`, `dyn`, `loop`, `unsafe`, `override`, `const`, `type`, `virtual`
Identifiers follow the pattern `[a-zA-Z_][a-zA-Z0-9_]*`.