-
Notifications
You must be signed in to change notification settings - Fork 8
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
AST 2.1 Abstract Syntax Tree #187
Labels
Comments
Rich2
added a commit
that referenced
this issue
Feb 25, 2022
Rich2
added a commit
that referenced
this issue
Feb 26, 2022
Rich2
added a commit
that referenced
this issue
Feb 26, 2022
Rich2
added a commit
that referenced
this issue
Feb 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AST Version 2.1
The syntax tree is defined by the following hierarchy from lowest precedence to highest.
1 Statements
2 Assignment operator expressions
3 Colon operator expressions
4 Clauses
5 The rest of the Scala operator precedence value
6 Spaced Tokens
7 Dot separated Tokens
A File can be interpreted as an expression or a statement sequence. Files and directories can be included in the syntax tree. This needs to be worked out.
in version 2.0, colon operator expressions had a higher precedence than clauses. In version 1 they had a higher precedence than an assignment operator.
The text was updated successfully, but these errors were encountered: