feat(tazjin/rlox): Add basic program structure
... as well as a Nix derivation, because why not. Change-Id: Iaf2591ab72676fe0732c3f807b3aa0cff13fb4ef Reviewed-on: https://cl.tvl.fyi/c/depot/+/2143 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
0618ff11cc
commit
9d2b001c4c
3 changed files with 36 additions and 10 deletions
4
users/tazjin/rlox/src/interpreter.rs
Normal file
4
users/tazjin/rlox/src/interpreter.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// Run some Lox code and print it to stdout
|
||||
pub fn run(_code: &str) {
|
||||
println!("no interpreter yet, sorry")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue