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

Extended syntax: added context-based testing #70

Merged
merged 5 commits into from
Jan 24, 2020

Conversation

Anabra
Copy link
Member

@Anabra Anabra commented Jan 21, 2020

See #32

@Anabra Anabra added the review Ready for review label Jan 21, 2020
@Anabra Anabra self-assigned this Jan 21, 2020
tr e
| (v1:v2:_) <- deriveNamesAsText e
, eText <- toText e = [expr|
$v1 <- do
Copy link
Member

@andorp andorp Jan 21, 2020

Choose a reason for hiding this comment

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

Does the '$v1' here mean that we generate new names in this context based on the expression 'e'?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. The generated context will contain fresh names.

Copy link
Member

@csabahruska csabahruska left a comment

Choose a reason for hiding this comment

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

ok

@csabahruska csabahruska merged commit 5dc6980 into 32-extended-syntax Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Ready for review
Projects
Rework GRIN IR
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

3 participants