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

1713 Revise code for generating production rules #1721

Merged
merged 6 commits into from
Jan 24, 2025

Conversation

michaelhkay
Copy link
Contributor

The main change here is to change the way "scraps" are expanded: these are the local collections of production rules that appear inline within the spec. These are now driven by a single prodrecap element naming the rule to be expanded, and the logic is now automated for deciding (a) which subsidiary production rules to include in the scrap, and (b) which occurrence of a production rule to use as the target for a hyperlinked reference to that rule, depending on where the reference appears.

Along with this there has been a fair bit of deletion of legacy code and general modernisation (e.g using XSLT 2.0 and 3.0 constructs where appropriate).

@michaelhkay michaelhkay requested a review from ndw as a code owner January 22, 2025 11:27
@michaelhkay michaelhkay added Editorial Minor typos, wording clarifications, example fixes, etc. Build Affects the build infrastructure only labels Jan 22, 2025
@michaelhkay
Copy link
Contributor Author

Fix #1713

@michaelhkay
Copy link
Contributor Author

I've slipped in an extra change to:

Fix #1723

@ndw
Copy link
Contributor

ndw commented Jan 24, 2025

These changes look good to me. They're tool and build related not (intentionally) technical, so I'm going to merge them now. If anyone has a PR in flight that updates productions, hopefully doing it today gives enough time to update them before Tuesday.

@ndw ndw merged commit 30a911b into qt4cg:master Jan 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Affects the build infrastructure only Editorial Minor typos, wording clarifications, example fixes, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants