Documentation
¶
Overview ¶
Package stdlib provides the embedded R7RS standard library files.
These libraries are compiled into the binary and available via FS for use with github.com/aalpar/wile.WithSourceFS. Embedders who want zero-configuration library support can use this directly:
eng, err := wile.NewEngine(ctx,
wile.WithSourceFS(stdlib.FS),
wile.WithSourceOS(),
wile.WithLibraryPaths(),
)
Paths in FS are relative to the library root (e.g., "scheme/base.sld", "chibi/test.sld"), not prefixed with "lib/".
Index ¶
Constants ¶
This section is empty.
Variables ¶
var FS fs.FS
FS is the embedded standard library filesystem with the "lib/" prefix stripped. Library paths match the search path convention directly: "scheme/base.sld", "srfi/1.sld", etc.
var LibFS fs.FS = rawFS
LibFS is the embedded standard library filesystem with the "lib/" prefix retained. Library paths resolve as "lib/scheme/base.sld", etc. This is the shape consumed by github.com/aalpar/wile/pkg/wile.StdLibFS, which re-exports it so the public embedder API needs no second embed of the same tree.
Functions ¶
This section is empty.
Types ¶
This section is empty.