#pragma once #include #include namespace packluau { /// One embedded stdlib module (SPEC.md section 8): `@pw/`, its `--!pw` lines, and the /// bytecode Luau's compiler produced at build time. struct StdlibModule { std::string_view name; std::string_view header; std::span bytecode; }; /// Every embedded module, sorted by name. Defined in the source `tools/stdlib_compile.cpp` /// generates at build time. [[nodiscard]] std::span stdlib_modules() noexcept; /// The module `name` names (without `@pw/`), or null. [[nodiscard]] const StdlibModule *find_stdlib(std::string_view name) noexcept; } // namespace packluau