Add all of the code gen, want to show it off

This commit is contained in:
2025-03-27 18:49:17 +02:00
parent f338f07e7d
commit 06d8c1b0f3
33 changed files with 1199 additions and 95 deletions

View File

@@ -1,21 +1,21 @@
//type str = [u8];
//
//struct Foo {
// a: usize,
// b: &str
//}
//
//fn Foo.new(a: usize, b: &str) -> Foo {
// return Foo {
// a: a,
// b: b
// };
//}
//
//
//fn main() {
// let obj = Foo::new();
//
//}
type str = [u8];
struct Foo {
a: usize,
b: &str
}
fn Foo.new(a: usize, b: &str) -> Foo {
return Foo {
a: a,
b: b
};
}
fn main() -> i32 {
let obj = Foo::new();
}