-
Notifications
You must be signed in to change notification settings - Fork 43
Resolve docker hiccups around regexp build #1101
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fd85932
Improve namespace ABNF integration
bernhardreiter d072c7b
improve ABNFpattern integration
bernhardreiter b196a8b
Revert #1067, apply #1065: move abnf-to-regexp to dev dep with static…
ahouseholder 9254d55
Merge commit 'd072c7beae7ff64adec5edcca11d027dabdff39f' into maybe-fi…
ahouseholder 10cb123
format with black
ahouseholder 6d25bf6
Move abnf-to-regexp to codegen group; add --no-sync to uv run CMDs
ahouseholder 02dd77e
Apply suggestion from @Copilot
sei-renae be72485
Address reviewer comments on #1101
ahouseholder c9cc2e7
Merge branch 'main' into maybe-fix-1067-with-1065
sei-renae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Copyright (c) 2026 Carnegie Mellon University. | ||
| # NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE | ||
| # ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. | ||
| # CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, | ||
| # EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT | ||
| # NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR | ||
| # MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE | ||
| # OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE | ||
| # ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM | ||
| # PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT. | ||
| # Licensed under a MIT (SEI)-style license, please see LICENSE or contact | ||
| # permission@sei.cmu.edu for full terms. | ||
| # [DISTRIBUTION STATEMENT A] This material has been approved for | ||
| # public release and unlimited distribution. Please see Copyright notice | ||
| # for non-US Government use and distribution. | ||
| # This Software includes and/or makes use of Third-Party Software each | ||
| # subject to its own license. | ||
| # DM24-0278 |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # Copyright (c) 2026 Carnegie Mellon University. | ||
| # NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE | ||
| # ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. | ||
| # CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, | ||
| # EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT | ||
| # NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR | ||
| # MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE | ||
| # OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE | ||
| # ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM | ||
| # PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT. | ||
| # Licensed under a MIT (SEI)-style license, please see LICENSE or contact | ||
| # permission@sei.cmu.edu for full terms. | ||
| # [DISTRIBUTION STATEMENT A] This material has been approved for | ||
| # public release and unlimited distribution. Please see Copyright notice | ||
| # for non-US Government use and distribution. | ||
| # This Software includes and/or makes use of Third-Party Software each | ||
| # subject to its own license. | ||
| # DM24-0278 | ||
|
|
||
| # AUTOGENERATED, DO NOT CHANGE manually, see Makefile | ||
| alnum = '[a-zA-Z0-9]' | ||
| lower = '[a-z]' | ||
| alnumlow = f'({lower}|[0-9])' | ||
| dash = '-' | ||
| alnumlowdash = f'({alnumlow}|{dash})' | ||
| label = f'{alnumlow}(({alnumlowdash}){{0,61}}{alnumlow})?' | ||
| reverse_dns = f'{label}(\\.{label})+' | ||
| dot = '\\.' | ||
| specialchar = f'({dot}|{dash})' | ||
| fragment_seg = f'({alnumlow})+({specialchar}({alnumlow})+)*' | ||
| x_name = f'{reverse_dns}#{fragment_seg}' | ||
| x_base = f'x_{x_name}' | ||
| ns_core = f'{lower}{alnumlow}(({specialchar})?({alnumlow})+)+' | ||
| reg_base = f'{ns_core}(#{fragment_seg})?' | ||
| base_ns = f'({x_base}|{reg_base})' | ||
| singleton = '[0-9A-WY-Za-wy-z]' | ||
| bcp47 = ( | ||
| '(([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?|[a-z' | ||
| 'A-Z]{4,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-' | ||
| f'(({alnum}){{5,8}}|[0-9]({alnum}){{3}}))*(-{singleton}(-' | ||
| f'({alnum}){{2,8}})+)*(-[xX](-({alnum}){{2,8}})+)?|[xX](-' | ||
| f'({alnum}){{2,8}})+|i-default|i-mingo)' | ||
| ) | ||
| translation = f'\\.({reverse_dns}|{x_name})\\${bcp47}' | ||
| ext_seg = f'({bcp47}|\\.{x_name}|{translation})' | ||
| lang_ext = f'(/|/{bcp47})' | ||
| extensions = f'{lang_ext}((/{ext_seg})+)?' | ||
| namespace = f'{base_ns}({extensions})?' | ||
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.