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

parse field_expressions #5

Open
Tsche opened this issue Aug 8, 2024 · 0 comments
Open

parse field_expressions #5

Tsche opened this issue Aug 8, 2024 · 0 comments

Comments

@Tsche
Copy link
Owner

Tsche commented Aug 8, 2024

Currently it does not parse field_expression nodes. Those can be translated to getattr, ie:

metavar.foo; // -> getattr(metavar, "foo")
// also parsed:
metavar->foo;
metavar.*foo;

Whether -> and/or .* shall have special meaning in the DSL is to be determined. Right now I think it's best to raise a ParseError if these are used.

@Tsche Tsche changed the title parse field_expressions parse field_expressions Aug 8, 2024
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