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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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

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.

1 participant