[rlox] init

This commit is contained in:
ctsk
2023-03-29 20:03:16 +02:00
parent 26cbca5c55
commit ff67071f5b
6 changed files with 65 additions and 0 deletions

11
rlox/src/main.rs Normal file
View File

@@ -0,0 +1,11 @@
mod chunk;
mod bytecode;
use chunk::Chunk;
use bytecode::Op;
fn main() {
let mut chunk = Chunk::new("TEST".to_string());
chunk.add(Op::Return);
println!("{:?}", chunk);
}