Skip to content

Changes to K frontend to support new C++ unparsing#1287

Merged
dwightguth merged 18 commits intomasterfrom
bracket
May 22, 2020
Merged

Changes to K frontend to support new C++ unparsing#1287
dwightguth merged 18 commits intomasterfrom
bracket

Conversation

@dwightguth
Copy link
Copy Markdown
Contributor

This is not ready to be merged yet, but feel free to review it as a companion to runtimeverification/llvm-backend#334.

@dwightguth dwightguth marked this pull request as draft May 14, 2020 15:49
Comment thread kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java Outdated
escape = false;
}
}
att = att.add("colors", colors.toString());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be nice if these new attributes would be documented somewhere.

Copy link
Copy Markdown
Member

@ehildenb ehildenb May 19, 2020

Choose a reason for hiding this comment

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

Seconded. I see that color, colors, format are already documented in pending-documentation.md.

priorities, left, right are not, please add these to pending-documentation.md. I also see that bracket is folded into the paremetric productions section of pending-documentation.md, maybe it should be made into it's own section though?

I also see terminals here as an attribute and nat, but I don't think that's something we want the users setting, so maybe we shouldn't document that. If these are supposed to be user exposed, also add to pending-documentation.md. If not, then maybe we should either (i) make sure they don't exist in the attributes before adding them in, or (ii) have a check in the frontend that they do not occur.

Comment thread kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java Outdated
Comment thread kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java
@dwightguth dwightguth marked this pull request as ready for review May 18, 2020 17:25
@dwightguth dwightguth requested a review from ehildenb May 21, 2020 18:01
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.

3 participants