pi-lang:用LLVM制作的玩具编译器

时间:2024-04-19 20:07:26
【文件属性】:

文件名称:pi-lang:用LLVM制作的玩具编译器

文件大小:80.61MB

文件格式:ZIP

更新时间:2024-04-19 20:07:26

language llvm LLVM

PI LLVM制作的静态类型语言 示例程序: /* * Classes have just been added so not everything works yet. Ex. 'pub' is being parsed but doesn't mean anything yet (for both properties and methods) /* class Person { pub mut i32 age; mut i16 address; mut u8 test = 5; // Default value mut u64 hi = 5; constructor(i32 age, i16 address, u8 test, u64 hi) { this->age = age; this->address


网友评论