add argument reading for lox

This commit is contained in:
Sebastian Hugentobler 2025-05-28 21:58:35 +02:00
parent 98dfbc8503
commit 97fdc89316
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
6 changed files with 60 additions and 8 deletions

View file

@ -96,5 +96,6 @@ class Interpreter {
}
}
var interpreter = Interpreter("bf/game_of_life.bf");
var bfScript = args(0);
var interpreter = Interpreter(bfScript);
interpreter.run();