Skip to content

Finish documenting UDLs and making them available - #724

Open
chiphogg wants to merge 1 commit into
mainfrom
chiphogg/literal-include-files
Open

Finish documenting UDLs and making them available#724
chiphogg wants to merge 1 commit into
mainfrom
chiphogg/literal-include-files

Conversation

@chiphogg

Copy link
Copy Markdown
Member

We landed UDLs that make Constant (which is amazing!), but we didn't
fully propagate them everywhere that makes sense. This PR adds the UDL
include files to the installation instructions, and explains how to get
them, linking to the UDL docs.

We also add --literals and --all-literals command line parameters to
the single file script in the obvious way. And since the "all units"
files are pretty clearly playing the role of "just give me everything; I
don't care about compilation speed", I enabled --all-literals in the
all-units files, rather than adding a "yes/no literals" variant of each,
which would explode us from 8 to 16 published headers. This will make
literals available in godbolt now, which is great. (As an aside, for
calibration purposes: even though this is the "don't care about
compilation speed" option, we should still be dramatically faster than
mp-units.)

We landed UDLs that make `Constant` (which is amazing!), but we didn't
fully propagate them everywhere that makes sense.  This PR adds the UDL
include files to the installation instructions, and explains how to get
them, linking to the UDL docs.

We also add `--literals` and `--all-literals` command line parameters to
the single file script in the obvious way.  And since the "all units"
files are pretty clearly playing the role of "just give me everything; I
don't care about compilation speed", I enabled `--all-literals` in the
all-units files, rather than adding a "yes/no literals" variant of each,
which would explode us from 4 to 8 published headers.  This will make
literals available in godbolt now, which is great.  (As an aside, for
calibration purposes: even though this is the "don't care about
compilation speed" option, we should still be dramatically faster than
mp-units.)
@chiphogg
chiphogg marked this pull request as ready for review August 13, 2026 20:30
@chiphogg
chiphogg requested a review from a team August 13, 2026 20:30
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.

1 participant