rename std/build.sx -> modules/compiler.sx (the compiler-API surface)
Per user direction: the low-level abi(.compiler) primitive surface is the comptime 'compiler' library, so name the file compiler.sx (a peer of build.sx) instead of the interim std/build.sx — which also frees the 'build' name for the default build IMPLEMENTATION (default_build + on_build slot), which will live in modules/build.sx alongside the BuildOptions DSL. Updated the two example imports + the plan's Phase 5 file-split note. 704/0 both gates.
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
// Phase 5 — sx-driven build pipeline (compiler primitives).
|
||||
// The comptime `compiler` library — the low-level compiler-API surface.
|
||||
//
|
||||
// These run in the comptime evaluator (`abi(.compiler)`), serviced by
|
||||
// `comptime_vm.callCompilerFn`. They are called from the post-link build driver
|
||||
// (a callback registered via `set_post_link_callback`), which always runs on the
|
||||
// comptime VM (`core.invokeByFuncId`) — the VM, unlike the legacy interpreter,
|
||||
// can allocate/grow the `List`s the driver builds (issue 0141).
|
||||
//
|
||||
// This is the home the sx `default_build` pipeline grows into; for now it exposes
|
||||
// the read-only build metadata queries.
|
||||
// These primitives run in the comptime evaluator (`abi(.compiler)`), serviced by
|
||||
// `comptime_vm.callCompilerFn`. They are the building blocks of the sx-driven
|
||||
// build pipeline (Phase 5); the default `build` implementation that orchestrates
|
||||
// them lives in `modules/build.sx`. They are reached from the post-link build
|
||||
// driver (a callback registered via `set_post_link_callback`), which always runs
|
||||
// on the comptime VM (`core.invokeByFuncId`) — the VM, unlike the legacy
|
||||
// interpreter, can allocate/grow the `List`s the driver builds (issue 0141).
|
||||
#import "modules/std.sx";
|
||||
|
||||
// The C companion object files for this build (`#import c { #source ... }`,
|
||||
Reference in New Issue
Block a user