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

[patch] Tweak read grammar to allow read(probe(x)) as in examples. #93

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

dtzSiFive
Copy link
Member

This isn't really generally useful but might as well allow it as it's useful for examples (such as those in spec already!).

Note you still can't read(probe(x).y) but not worth allowing when you might as well read(probe(x.y)).

@dtzSiFive
Copy link
Member Author

Probably doesn't need to be draft, seems harmless (and a good improvement re:making spec examples legal)! but not eager to rush 👍 .

Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We should keep the grammar consistent with the examples at minimum.

Thanks!

This isn't really generally useful but might as well allow it
as it's useful for examples (such as those in spec already!).

Note you still can't `read(probe(x).y)` but not worth allowing
when you might as well `read(probe(x.y))`.
@dtzSiFive dtzSiFive force-pushed the feature/read-refexpr branch from cfba55f to 6ec64af Compare April 11, 2023 23:16
@dtzSiFive dtzSiFive marked this pull request as ready for review April 11, 2023 23:16
@dtzSiFive dtzSiFive merged commit 22f67db into chipsalliance:main Apr 11, 2023
@dtzSiFive dtzSiFive deleted the feature/read-refexpr branch April 11, 2023 23:16
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

Successfully merging this pull request may close these issues.

2 participants