Sha256: 565cee4b47b75d443b46ee3b0d68d979b8145edf1956a74a7e3de0aaf778ce48
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
:import Carbon::{Int32, Int8}. struct do name: Int32; value: Int8; end def alloc<T>(): Carbon::Pointer<T> do return Carbon::Pointer<T>.alloc(1); end def main(): Carbon::Int32 do let ptr: Program; # = Program.alloc<Carbon::Int8>(); ptr.value = 32i8; return ptr.value.to-int32(); end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carbon-compiler-0.2.0 | program.ca |