Expand description
The embedded ridl.std package (typl reference Appendix A, ADR-0007
decision 15).
The Appendix A source is committed verbatim as
crates/ridl-core/assets/ridl_std.typl and compiled in via include_str!
— a built-in, implicitly imported package with no filesystem or network
lookup, version-locked to the compiler binary.
Constants§
- RESERVED_
PACKAGE_ NAMES - Every package name the compiler provides itself, which a user package therefore cannot declare (TYPL-010).
- RIDL_
STD_ NAME - The package name the embedded source declares.
- RIDL_
STD_ PATH - The virtual path the embedded source is registered under. The
<builtin>prefix marks it as compiler-provided, not a filesystem path. - RIDL_
STD_ SOURCE - The
ridl.stdsource, verbatim from the typl reference Appendix A.
Functions§
- is_
reserved_ package_ name - Whether
nameis a package the compiler provides. - std_
package - The built-in
ridl.stdpackage, created at most once per database.