| `extern struct` because it has to match C ABI
zigdef `
const Person = extern struct {
age: usize,
name: [:0]const u8 name,
fn hello(self: Person) void;
};
fm mul(a: u32, b: u32) u32;
`;
| No different from an buzz object instanciation in syntax
Person person = Person{
age = 12,
name = "Joe",
};
person.hello();
print("{person}"); | -> struct Person: 0xef231b
mul(123, 243);
[x] Use std.zig.Ast to parse zig declarations
[x] Generate corresponding buzz types
[x] Use MIR to generate wrapper functions that does the binding
Later: