use std::env; use std::fs; use std::io; use std::io::Write; use std::process; mod bytecode; mod treewalk; fn main() { match env::var("LOX_INTERPRETER").as_ref().map(String::as_str) { Ok("treewalk") => treewalk::main(), _ => bytecode::main(), } }
depot | ||
monorepo for the virus lounge | The Virus Lounge |
about summary refs log tree commit diff |
use std::env; use std::fs; use std::io; use std::io::Write; use std::process; mod bytecode; mod treewalk; fn main() { match env::var("LOX_INTERPRETER").as_ref().map(String::as_str) { Ok("treewalk") => treewalk::main(), _ => bytecode::main(), } }