From 2308d0d520a04a7bc503e6b3f978e0a90cac9cbc Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 10 Jan 2021 21:02:41 +0100 Subject: [PATCH] roadmap: update --- 0.3_roadmap.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/0.3_roadmap.txt b/0.3_roadmap.txt index ad47f43ded..a8c829fddb 100644 --- a/0.3_roadmap.txt +++ b/0.3_roadmap.txt @@ -10,7 +10,7 @@ - C2V translator - doom.v - rune type, replace `ustring` with `[]rune`, fix `byte.str()` -- maps with non-string keys ++ maps with non-string keys + iOS/Android support - parallel parser (and maybe checker/gen?) - `recover()` from panics @@ -19,9 +19,10 @@ - interface embedding - interfaces: allow struct fields (not just methods) - vfmt: fix common errors automatically to save time (make vars mutable and vice versa, add missing imports etc) -- method expressions with an explicit receiver as the first argument +- method expressions with an explicit receiver as the first argument: `fn handle(f OnClickFn) { f() } button := Button{} handle(btn.click)` + short generics syntax (`foo(5)` instead of `foo(5)`) - fix all remaining generics issues - merge v.c and v_win.c - more advanced errors, not just `error('message')` - VLS for autocomplete, refactoring, go to definition etc +- Recursive structs via optionals: `struct Node { next ?Node }`