3afeafc9d4
- basic pointers and reading values from pointers works - writing to pointers not yet implemented (looks painful so a problem for tomorrow) - updated print library. the compiler has this hardcoded in all programs for now
9 lines
176 B
Plaintext
9 lines
176 B
Plaintext
fn main() -> u32 {
|
|
let x: u32 = 5;
|
|
let stringgg: str = "Hello world";
|
|
let test: str = "test";
|
|
|
|
println("hello world 2 electric boogaloo");
|
|
printnum(213);
|
|
}
|