12 lines
358 B
Plaintext
12 lines
358 B
Plaintext
import std::String;
|
|
import std::print;
|
|
|
|
fn main() -> u8 {
|
|
// - TODO make a type of global identifier for globls?
|
|
// - TODO figure out if it is possible to map the path to the path of the
|
|
// module and not the PWD.
|
|
let bytes = test_macro!("./examples/macro_easy_file.txt");
|
|
print(String::new() + bytes.length());
|
|
return *bytes[0];
|
|
}
|