puberty icon indicating copy to clipboard operation
puberty copied to clipboard

Can't use interpreter

Open ghost opened this issue 4 years ago • 1 comments

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.

ghost avatar Mar 09 '21 15:03 ghost

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.

agausmann avatar Mar 20 '21 05:03 agausmann