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

Can't rewrite under !-box #229

Open
rossduncan opened this issue Jul 25, 2018 · 1 comment
Open

Can't rewrite under !-box #229

rossduncan opened this issue Jul 25, 2018 · 1 comment

Comments

@rossduncan
Copy link
Member

Looks like the matcher doesn't see subgraphs inside !-boxes. See attached.

The use case I actually want has edges extending outside the !-box, but the problem occurs without this complication.
screen shot 2018-07-25 at 12 54 34

@akissinger
Copy link
Member

This is in the works. A temporary work-around is to create a version of your rule where the whole LHS and RHS are in a !-box. Make sure to add any existing !-boxes as children or this won't work right. The solution in the works is to make the matcher do this automatically if it needs to.

Historical note: this match is technically not allowed in the original !-box matching semantics (from Merry's thesis), which is what is implemented by the matcher.

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

2 participants