[tools] Preserve negated miaou list wrapper#1768
Open
relokin wants to merge 1 commit intoherd:masterfrom
Open
Conversation
Keep negated composite lists wrapped in a dedicated node instead of
reusing the original list operator.
Without this, miaou can flatten the negated sub-list into the enclosing
conjunction and lose the intended 'it is not the case that all of the
following apply' structure.
For example:
let rel1 = [A]; rel2; [B \ range([C]; rel; [D])]
should render as:
- E1 is an A effect.
- E1 is rel2-before E2.
- E2 is a B effect.
- It is not the case that all of the following apply:
- E2 is a D effect.
- E3 is rel-before E2.
- E3 is a C effect.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Assisted-by: OpenAI Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep negated composite lists wrapped in a dedicated node instead of reusing the original list operator.
Without this, miaou can flatten the negated sub-list into the enclosing conjunction and lose the intended 'it is not the case that all of the following apply' structure.
For example:
let rel1 = [A]; rel2; [B \ range([C]; rel; [D])]should render as:
Assisted-by: OpenAI Codex