py-myopl-code icon indicating copy to clipboard operation
py-myopl-code copied to clipboard

Parser not working

Open astrogames06 opened this issue 4 years ago • 1 comments

When I try use the parser it just gives an error saying “Invalid Syntax: Expected '->' or NEWLINE File , line 1” 2B6FAF66-CB79-4EC0-89B1-396F5FA4E7DC

astrogames06 avatar Oct 06 '21 23:10 astrogames06

Because you're trying to define a function but you don't follow the syntax. You're in the interpreter's REPL, you can only write one line, so you can use -> for inline functions or use ; as newline.

foxypiratecove37350 avatar Aug 19 '24 17:08 foxypiratecove37350