add argument reading for lox
This commit is contained in:
parent
98dfbc8503
commit
97fdc89316
6 changed files with 60 additions and 8 deletions
|
@ -96,5 +96,6 @@ class Interpreter {
|
|||
}
|
||||
}
|
||||
|
||||
var interpreter = Interpreter("bf/game_of_life.bf");
|
||||
var bfScript = args(0);
|
||||
var interpreter = Interpreter(bfScript);
|
||||
interpreter.run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue