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

feaLib.parser is too builder-specific #3501

Open
simoncozens opened this issue May 7, 2024 · 0 comments
Open

feaLib.parser is too builder-specific #3501

simoncozens opened this issue May 7, 2024 · 0 comments

Comments

@simoncozens
Copy link
Collaborator

I think this is syntactically (but not semantically) valid feature code:

feature foo {
  lookup bar;
} foo;

I would expect a parser to be able to turn that into an abstract syntax tree that you can manipulate, and then a builder to later complain that bar is not defined. However, trying to run Parser("foo.fea").parse() on this feature code fails because the parser cannot resolve the lookup.

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

No branches or pull requests

1 participant