From bf742f1699eed04f7f381305bab9cbfcbe11a5a8 Mon Sep 17 00:00:00 2001 From: Luna Date: Tue, 27 Aug 2019 12:39:17 -0300 Subject: [PATCH] README: no enum literals, no switch yet --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a17c57..42c683c 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,13 @@ negatively charged towards Be Properly Titled and i can't bother with that) - function parameters must have a type always - - ifs are always statements, not expressions (can't use if as an r-value) - - no `++`, `--` + (no `fn blah(x, y int)`, must be `fn blah(x int, y int)`) + - ifs are always statements, not expressions + (can't use if as an r-value: `x := if ...`) + - no `++`, `--` (use `+=` and `-=`) - no `match` - no embedded structs + - no enum literals (`x = .val2`) - no v orm - no codegen - no inline assembly @@ -42,6 +45,7 @@ negatively charged towards - no generics yet - no attributes yet (`[live]`, `[skip]`) - no `defer` yet + - no `switch` yet - no operator overloading methods yet - do we really want a type system (optionals included) - no error handling yet (`call() or {blah}`)