stdlib

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL