Fixed typo in code

This commit is contained in:
Logan 2024-10-14 19:52:17 -05:00
parent ac60663cd2
commit 5daa2bd553
2 changed files with 15 additions and 1 deletions

View file

@ -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;

View 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