Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bench-ratchet
command
Command bench-ratchet runs Go benchmarks, normalizes results against a calibration anchor benchmark, and compares them to a stored baseline.
|
Command bench-ratchet runs Go benchmarks, normalizes results against a calibration anchor benchmark, and compares them to a stored baseline. |
|
check-generated
command
check-generated exits non-zero when the committed generated artifacts (pkg/rt/core_compiled.lgb + the lowered Go tree) are stale relative to their .lg / lgbgen sources.
|
check-generated exits non-zero when the committed generated artifacts (pkg/rt/core_compiled.lgb + the lowered Go tree) are stale relative to their .lg / lgbgen sources. |
|
lg-runtime
command
|
|
|
lgbgen
command
This file carries the go:generate directives that regenerate the core bundle and the lowered Go tree from the .lg sources.
|
This file carries the go:generate directives that regenerate the core bundle and the lowered Go tree from the .lg sources. |
|
lginterop
command
|
|
|
perf-page
command
|
|
|
examples
|
|
|
go_interop_lazy
command
Worked example: a Go program embeds let-go, then consumes potentially-infinite let-go sequences from Go using the new vm.Iter (Go 1.23+ iter.Seq[Value]) and vm.SeqToSlice helpers.
|
Worked example: a Go program embeds let-go, then consumes potentially-infinite let-go sequences from Go using the new vm.Iter (Go 1.23+ iter.Seq[Value]) and vm.SeqToSlice helpers. |
|
pkg
|
|
|
bundle
Package bundle implements the standalone-binary trailer format and resource collection used by `lg -b`.
|
Package bundle implements the standalone-binary trailer format and resource collection used by `lg -b`. |
|
genmanifest
Package genmanifest tracks whether the generated artifacts (pkg/rt/core_compiled.lgb and the pkg/rt/core_go_lowered/ tree) are stale relative to their .lg + generator sources.
|
Package genmanifest tracks whether the generated artifacts (pkg/rt/core_compiled.lgb and the pkg/rt/core_go_lowered/ tree) are stale relative to their .lg + generator sources. |
|
perfdata
Package perfdata defines the JSON schema shared by the perf tools.
|
Package perfdata defines the JSON schema shared by the perf tools. |
|
rt
This file carries no bootstrap build constraint on purpose: BootCore must exist in every build so a downstream caller compiles, and under -tags bootstrap the embedded core (CoreCompiledLGB) is empty, making LoadCoreBundle return the documented error instead of an undefined-symbol failure.
|
This file carries no bootstrap build constraint on purpose: BootCore must exist in every build so a downstream caller compiles, and under -tags bootstrap the embedded core (CoreCompiledLGB) is empty, making LoadCoreBundle return the documented error instead of an undefined-symbol failure. |
|
rt/builtins
Package builtins is the single-source home for direct-call-eligible clojure.core builtins: context-free functions with uniform vm.Value signatures.
|
Package builtins is the single-source home for direct-call-eligible clojure.core builtins: context-free functions with uniform vm.Value signatures. |
|
rt/corefns
Package corefns is a placeholder while the lginterop-driven direct-call path is being wired up.
|
Package corefns is a placeholder while the lginterop-driven direct-call path is being wired up. |
|
rt/wasm
Package wasm holds build-time JS and HTML assets for the `lg -w` WASM bundler.
|
Package wasm holds build-time JS and HTML assets for the `lg -w` WASM bundler. |
Click to show internal directories.
Click to hide internal directories.