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

Allow '$' prefix for variable and function names #118

Open
sampaioletti opened this issue Dec 20, 2018 · 0 comments · May be fixed by #124
Open

Allow '$' prefix for variable and function names #118

sampaioletti opened this issue Dec 20, 2018 · 0 comments · May be fixed by #124

Comments

@sampaioletti
Copy link

I have used/seen the convention elsewhere to use a $ prefix to denote a 'builtin' function or variable. It makes it easier when there is a possibility of some runtime defined variable to prevent naming conflicts.

i.e.

exp:="$pi * radius^2"

I can't think of a reason for $ to be a reserved character I would propose the parser recognizes it as a character and looks for variables and functions containing it.

Happy to do a PR if there isn't a counter argument

@sampaioletti sampaioletti linked a pull request Apr 14, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant