Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser not working #20

Open
astrogames06 opened this issue Oct 6, 2021 · 1 comment
Open

Parser not working #20

astrogames06 opened this issue Oct 6, 2021 · 1 comment

Comments

@astrogames06
Copy link

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

@foxypiratecove37350
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants