From a1c8cad8d6be1df8241926f9a74bb581508ff60e Mon Sep 17 00:00:00 2001 From: ivanjermakov Date: Sat, 20 Apr 2024 08:39:14 +0200 Subject: [PATCH] Update roadmap --- README.md | 2 +- data/syntax.no | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ba1d6b8..79682bfb 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ pub fn main() { | Parsing | 0.1.0 | ✅ | | Semantic checking | 0.1.0 | ✅ | | Type checking | 0.1.0 | ✅ | -| Code generation (JS target) | 0.1.0 | 🚧 | +| Code generation (JS target) | 0.1.0 | ✅ | | Package support | 0.1.0 | ✅ | | Useful standard library | 0.1.0 | 🚧 | diff --git a/data/syntax.no b/data/syntax.no index 710b80df..bb778264 100644 --- a/data/syntax.no +++ b/data/syntax.no @@ -9,7 +9,7 @@ trait Baz { fn a(self): Unit fn f(self): T {} } impl Baz> for Bar { fn f(self): T {} } fn foo(b: T): Option { let a = [1, "str", 'c', true, Option::None(), Option::Some(value: 1), Option::Some(2)] - let s = "interp {foo("nest {'b'}")}" + let s = "interp {foo("nest {bar('b')}")}" let Foo::Foo(x) = Foo::Foo(4) let b = if a.next().isSome() { a } else { [] } let b2 = a.next()!.await?