44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
---
|
|
Title: Missing Features
|
|
Prev:
|
|
Next:
|
|
---
|
|
|
|
## Missing Features
|
|
|
|
The following sections and language features are known to be missing from the
|
|
current version of the language specification, but are intended to be added and
|
|
implemented. These are not future plans, but rather features that have been
|
|
identified as necessary for a complete language specification.
|
|
|
|
- Complete Type Reference
|
|
- The `sqrt` operator
|
|
- Constants
|
|
- Arrays of structs
|
|
- Arrays of non-default types
|
|
- Identifiers can be any ascii (or possibly unicode) string without whitespace,
|
|
that doesn't start with a digit (`0-9`), `.`, or `:`, and doesn't include `::`
|
|
- Integers and floats are allowed to use `_` as deliminator, they are ignored
|
|
after lexing, they are just for the programer
|
|
|
|
### 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]
|
|
```
|
|
|
|
---
|