puberty
puberty copied to clipboard
Can't use interpreter
I've been trying to use the interpreter, but when I run it in cmd I get a NoMethodError because match is not defined. Tried it with ruby 3.0.0 and ruby 2.4.10.
I'm guessing it is this?
Traceback (most recent call last):
interpreter.rb:2:in `<main>': undefined method `match' for nil:NilClass (NoMethodError)
That's because it expects you to pass a script file on the command line, like ruby interpreter.rb examples/cat.fap. It's not an interactive interpreter.