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

TASTy Grammar Inaccuracies #22269

Open
jadenPete opened this issue Dec 29, 2024 · 1 comment
Open

TASTy Grammar Inaccuracies #22269

jadenPete opened this issue Dec 29, 2024 · 1 comment
Labels
area:documentation area:tasty-format issues relating to TASTy as a portable standard itype:bug

Comments

@jadenPete
Copy link

According to the notation description in the TASTy grammar, "Prefixes of the form lower case letter*_ are for explanation of semantic content only, they can be dropped without changing the grammar". However, in practice, this isn't true.

For example, one possible Term is:

NEW                   clsType_Term                               -- new cls

However, clsType_Term isn't necessarily a Term, since it's technically read as a type tree, which can be a Type:

Additionally, Tree is mentioned in multiple places, but isn't ever formally defined.

@jadenPete jadenPete added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Dec 29, 2024
@Gedochao Gedochao added area:documentation area:tasty-format issues relating to TASTy as a portable standard and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Dec 30, 2024
@Gedochao
Copy link
Contributor

cc @odersky @sjrd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:documentation area:tasty-format issues relating to TASTy as a portable standard itype:bug
Projects
None yet
Development

No branches or pull requests

2 participants