compiler

module
v0.3.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
krate command
internal
astjson
Package astjson encodes and decodes an *ast.Program to and from a kind-tagged JSON document.
Package astjson encodes and decodes an *ast.Program to and from a kind-tagged JSON document.
css
diag
Package diag provides the unified compiler diagnostic type and formatting.
Package diag provides the unified compiler diagnostic type and formatting.
docfind
Package docfind embeds Microsoft's docfind WASM document-search engine into krate and drives it entirely in-process — no subprocess and no temporary JSON files on disk.
Package docfind embeds Microsoft's docfind WASM document-search engine into krate and drives it entirely in-process — no subprocess and no temporary JSON files on disk.
escape
Package escape provides the canonical HTML, attribute, and JavaScript string escaping used across the compiler.
Package escape provides the canonical HTML, attribute, and JavaScript string escaping used across the compiler.
fsutil
Package fsutil provides shared filesystem helpers used across the compiler.
Package fsutil provides shared filesystem helpers used across the compiler.
plugin/searchassets
Package searchassets embeds the docs search UI files (search.js + search.css) that the docs plugin writes into the output directory at build time.
Package searchassets embeds the docs search UI files (search.js + search.css) that the docs plugin writes into the output directory at build time.
pluginutil
Package pluginutil provides shared utilities for krate's built-in plugins (file walking, HTML template building, path helpers).
Package pluginutil provides shared utilities for krate's built-in plugins (file walking, HTML template building, path helpers).
reactive
Package reactive builds a compile-time signal dependency graph from emitted component signatures.
Package reactive builds a compile-time signal dependency graph from emitted component signatures.
sigutil
Package sigutil centralizes detection of reactive declarations (createSignal / createResource destructuring) across the compiler.
Package sigutil centralizes detection of reactive declarations (createSignal / createResource destructuring) across the compiler.
tsexec
Package tsexec runs TypeScript helper scripts (config bootstraps, generateStaticParams, etc.) via `npx tsx`.
Package tsexec runs TypeScript helper scripts (config bootstraps, generateStaticParams, etc.) via `npx tsx`.
Package plug is the public SDK for writing Krate plugins in Go.
Package plug is the public SDK for writing Krate plugins in Go.

Jump to

Keyboard shortcuts

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