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

Permit syntactic symbols with CamelCase #9

Open
edubart opened this issue Sep 6, 2020 · 1 comment
Open

Permit syntactic symbols with CamelCase #9

edubart opened this issue Sep 6, 2020 · 1 comment

Comments

@edubart
Copy link

edubart commented Sep 6, 2020

Would be better if syntatic symbols also worked with CamelCase.

Motivation: I like to use CamelCase in my AST node tags because this permits to use reserved keywords in lua like Do Function Break etc in the code. For example I use a visitor pattern and declare visitor pattern to traverse my AST nodes like visitors.Do and visitors.Function, this is not possible with just lowercase then instead I've to use visitors["function"] = function(... due to the reserved keyword, but then I lose traceback readability from lua because I've to use an anonymous function.

@gustavoaca1997
Copy link
Owner

Hi @edubart ! I'll work with the three issues you posted as soon as possible. Sorry for the delay answer

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

No branches or pull requests

2 participants