tanlang
v0.1.1
Published
The Tan programming language compiler - A cleaner, faster alternative to JavaScript.
Maintainers
Readme
Tan ⚡
Tan is a strongly-typed language that compiles to modern JavaScript (ESM).
Status: Beta
Tan is in beta. Expect sharp edges, incomplete documentation, and occasional breaking changes while the language and compiler mature.
More features and improvements are coming.
Install
npm install -g tanlangQuick start
tan run app.tanExamples
See example/README.md for a small app + local plugin you can run in one command.
Highlights
- Swift-like syntax with a focus on readability
- Static typing (numeric types, generics, union types)
- Compiles to ESM JavaScript (no runtime)
- Node / npm interop via ESM imports
- Plugin workflow via
tanfig.json("plugin": true)
Roadmap (high level)
- Better error messages & diagnostics
- More complete type system and inference
- Formatter (
tan fmt) and linter (tan lint) improvements - Faster incremental builds / watch mode
- Standard library + docs expansion
License
MIT
