diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-01-23 23:03:57 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-01-23 23:03:57 +0100 |
| commit | e7399f69d7ed962a74c3df8d2de981d6225e2f45 (patch) | |
| tree | a1020852969521a8e9ad26d757772c47e383e833 /todo | |
| parent | ca1a394cca0c88b7656d156c9ba68bd9468a6612 (diff) | |
| download | sylt-e7399f69d7ed962a74c3df8d2de981d6225e2f45.tar.gz | |
Update todo a bit
Diffstat (limited to 'todo')
| -rw-r--r-- | todo | 55 |
1 files changed, 5 insertions, 50 deletions
@@ -1,51 +1,6 @@ - - [x] Better error messages - - [x] Rustify the thingy - - [x] Return errors from runtime ----[-]-REPR---- - - [x] Pass files - - - [?] Globals - - [x] Variables - - [x] Scoping - - [x] Jumps - - [x] If - - [x] For - - [x] Functions - - [ ] Typing + - [ ] Even better error messages - [ ] Listor - - -global_names = {"name" => idx} -gloabls [(type var1), (type var2), (type var3)...] - -==== q.tdy ==== -use z -// Is this a closure? Yes. -f := () -> { - print a -} - -f := () -> { -} - -<Var> <Typ> - -a int := a + 1 -a int := 3 -a := 3 - -let <Var>:<Typ> - -a : int = 123 -a := z.a - -==== z.tdy ==== -use q // Will we need imports? Yes. - -q.f() // What does this print? 123. q has a different scope. - -g := () -> { - print a -} - -a := q.a // Compilation error + - [ ] Sets? + - [ ] HashMaps? + - [ ] Custom Structs + - [ ] Methods? |
