From e7399f69d7ed962a74c3df8d2de981d6225e2f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvard=20Th=C3=B6rnros?= Date: Sat, 23 Jan 2021 23:03:57 +0100 Subject: Update todo a bit --- todo | 55 +++++-------------------------------------------------- 1 file changed, 5 insertions(+), 50 deletions(-) diff --git a/todo b/todo index 4aab74e..426e8f6 100644 --- a/todo +++ b/todo @@ -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 := () -> { -} - - - -a int := a + 1 -a int := 3 -a := 3 - -let : - -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? -- cgit v1.2.1