Skip to main content

Crate floe

Crate floe 

Source

Modules§

checker
codegen
cst
desugar
Desugar pass: transforms high-level AST constructs into simpler equivalents.
diagnostic
formatter
interop
npm / .d.ts interop module.
lexer
lower
lsp
parser
resolve
Module resolver for cross-file import resolution.
sourcemap
Source map generation for Floe -> TypeScript compilation.
stdlib
Floe standard library — built-in functions known to the compiler.
syntax
type_layout
Centralizes how Floe types map to TypeScript runtime representations.
walk
Shared AST walker for mutable expression traversal.

Functions§

find_project_dir
Find the project root directory (where node_modules lives). Prioritizes finding node_modules over package.json to handle pnpm workspaces where node_modules is hoisted to the workspace root.