crafting-interpreters/lox/read_file.lox

6 lines
106 B
Text

var filepath = "Cargo.toml";
var c = read(filepath);
while (c != nil) {
out(c);
c = read(filepath);
}