Docs/Overview
Documentation
Learn EffScript
EffScript is a small language that compiles to the Effect code you would write by hand. Start with the guide, then reach for the tools and reference as you need them.
Guide
Install EffScript and learn the language.
Tools
The efs command, its lint rules, editors and bundlers.
The efs commandThe efs command builds, type checks, formats and lints EffScript projects, and reads its settings from efs.json.Read →Lint rulesefs lint checks the syntax tree, so it runs instantly and needs no type information. The same rules appear in the editor as you type.Read →EditorsThe VS Code extension, the EffScript language server in other editors, and TypeScript's own language server.Read →BundlersThe bundler plugins compile .efs files to JavaScript with source maps that point back to the EffScript source. They run the compiler as WebAssembly…Read →
Reference
How EffScript fits with TypeScript, Effect and its own internals.
TypeScript interopEffScript compiles to TypeScript, so an EffScript project is a TypeScript project: the same tsconfig.json, the same packages and the same checker.Read →Library versionsEffScript generates calls into Effect and its companion libraries, so each EffScript release is written for specific versions of them.Read →ArchitectureThe compiler is written in Rust and type checks with tsrs, the Rust port of the TypeScript 7 checker, linked in as a library.Read →