target.mty (287B)
struct Person ::
int age
float height
str name
fx to_string() :: print("{name} is {age} years old and {height}cm tall.") end
fx add() float :: return .height + .age end
end
pub struct Persona :: Person p end
enum Color ::
RED
GREEN
BLUE
end
fx main() ::
print("hello")
end