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

\ is used to call a method on an object instead of : #405

Closed
VinnyVicious opened this issue Oct 28, 2019 · 2 comments
Closed

\ is used to call a method on an object instead of : #405

VinnyVicious opened this issue Oct 28, 2019 · 2 comments

Comments

@VinnyVicious
Copy link

Is there a way to "customize" this? I find \ to be a very noisy character in the language syntax. Why was this chosen instead of . or even ->?

@leafo
Copy link
Owner

leafo commented Oct 28, 2019

#35 (comment)

If you want to customize it you can fork the code and update the parser. Changing it to . or : will not work without serious modifications due to the precedence/functionality those operators already have.

@VinnyVicious
Copy link
Author

Thank you for the attention and detailed answer! 👍

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