added interpreter

This commit is contained in:
2025-08-31 23:06:26 -06:00
parent dd4f5b9ee6
commit 126524a9e9
5 changed files with 478 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
fn main(): String {
let a = "asdf";
return a ;
fn main(): i64 {
let user = User{id: 4};
return user.instance_method();
}
type User struct {