[rlox] init
This commit is contained in:
11
rlox/src/main.rs
Normal file
11
rlox/src/main.rs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user