Added to missing features
This commit is contained in:
parent
e5b3945f8d
commit
4024aafd0e
|
|
@ -14,5 +14,26 @@ identified as necessary for a complete language specification.
|
|||
- Complete Type Reference
|
||||
- The `sqrt` operator
|
||||
- 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]
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in New Issue