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

Execution of "$=1" raises Syntax Error #894

Open
rdbyk opened this issue May 21, 2019 · 0 comments
Open

Execution of "$=1" raises Syntax Error #894

rdbyk opened this issue May 21, 2019 · 0 comments

Comments

@rdbyk
Copy link
Owner

rdbyk commented May 21, 2019

--> $=1
$=1
 ^^
Error: syntax error, unexpected =, expecting end of file

According to help names, $ is a valid variable ... however it is treated as token/expression at parsing level (cf. help dollar) ... this is a contradiction.

Some remarks:

  • after parsing $ is nothing else than a polynomial
  • so using $ is just a naming convention for a polynomal used in certain contexts
  • one could replace all $ e.g. by %s without any harm

Why not making $ just a predefined variable like %s? Doing so, would simplify parser and more ... ?

Please cf. also #280, which is related to the boolean "constants" %t and %f.

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

1 participant