@algosail/lang
v0.2.12
Published
Sail language tooling. Re-exports parser and typecheck.
Readme
@algosail/lang
Sail language tooling. Re-exports parser and typecheck.
CLI
sail check <file.sail> # Typecheck
sail compile <file.sail> [options] # Compile to JSOptions for compile: --out <file.js>, --no-source-map, - (stdout).
Exports
import { createParser, typecheck } from '@algosail/lang'Docs
- FFI-GUIDE.md — JSDoc format for FFI modules
- ARCHITECTURE.md — Pipeline, packages, dependencies
- TESTING.md — Brittle setup, integration tests
- CHANGELOG.md — Version history
- RELEASE.md — Release checklist
Packages
| Package | Description |
|---------|-------------|
| @algosail/parser | Parse Sail + JS → symbol table |
| @algosail/typecheck | Type checking |
| @algosail/compiler | Sail → JS (CLI: sail-compile) |
| @algosail/builtins | Builtin words |
| @algosail/tree-sitter | Grammar |
| @algosail/lsp | LSP server (hover, completion, go-to-definition) |
