pi lang:用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
下载地址
用户评论