Fixed typo in code
This commit is contained in:
parent
ac60663cd2
commit
5daa2bd553
|
@ -262,7 +262,7 @@ They are often used to lazily evaluate an open-ended sequence, or to iterate
|
||||||
over a collection. The `:` operator inside a for loop expression will call
|
over a collection. The `:` operator inside a for loop expression will call
|
||||||
a function repeatedly until the function fails to return a value
|
a function repeatedly until the function fails to return a value
|
||||||
```rust
|
```rust
|
||||||
range (minimum: i64, maximum: i64) -> (() -> i64?) {
|
range :: (minimum: i64, maximum: i64) -> (() -> i64?) {
|
||||||
current := minimum;
|
current := minimum;
|
||||||
() [minimum, maximum, current] {
|
() [minimum, maximum, current] {
|
||||||
last := current;
|
last := current;
|
||||||
|
|
14
src/writings/3-compiler-status.md
Normal file
14
src/writings/3-compiler-status.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# compiler status
|
||||||
|
- [x] Tokenizing
|
||||||
|
- [ ] Parsing
|
||||||
|
- [x] Variable declaration / assignment
|
||||||
|
- [ ] Function definitions
|
||||||
|
- [x] Operator expressions
|
||||||
|
- [ ] Block expressions
|
||||||
|
- [ ] If-else expressions
|
||||||
|
- [ ] Function expressions
|
||||||
|
- [ ] Function calling
|
||||||
|
- [ ] Intermediate representation
|
||||||
|
- [ ] WASM generation
|
||||||
|
- [ ] Bootstrapping
|
||||||
|
- [ ] Optimizing passes
|
Loading…
Reference in a new issue