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

AST 2.1 Abstract Syntax Tree #187

Open
Rich2 opened this issue Feb 25, 2022 · 0 comments
Open

AST 2.1 Abstract Syntax Tree #187

Rich2 opened this issue Feb 25, 2022 · 0 comments
Assignees

Comments

@Rich2
Copy link
Owner

Rich2 commented Feb 25, 2022

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.

@Rich2 Rich2 self-assigned this Feb 25, 2022
Rich2 added a commit that referenced this issue Feb 25, 2022
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
Projects
None yet
Development

No branches or pull requests

1 participant