Added to missing features

This commit is contained in:
Kyler Olsen 2025-10-31 23:22:27 -06:00
parent e5b3945f8d
commit 4024aafd0e
1 changed files with 21 additions and 0 deletions

View File

@ -14,5 +14,26 @@ identified as necessary for a complete language specification.
- Complete Type Reference - Complete Type Reference
- The `sqrt` operator - The `sqrt` operator
- Constants - Constants
- Arrays of structs
- Arrays of non-default types
### Arrays of non-default types and structs
Array of signed 64-bit integers
```
[1 1 2 3 5 8]
```
Array of signed 16-bit integers
```
[1 1 2 3 5 8 :i16]
```
Array of points
```
(i32 i32 --) { x: y: } ::Point struct
[ {1 0} {2 1} {0 2} {1 2} {2 2} :Point]
```
--- ---