TauScript v1.0.0 Released
A complete programming language ecosystem — compiler, CLI, taupm, LSP, formatter, debugger, testing, and 15 stdlib modules.
npm run tau -- runnpm run taupm -- installLanguage Features
Variables & Constants
let x = 42; const name = "Tau";Functions
fn name(a, b) { return a + b; }Generics
fn identity<T>(x) { return x; }Structs
struct Point { x: 0, y: 0 }Enums
enum Status { Active, Inactive }Traits & Interfaces
trait Printable { fn print(self); }Pattern Matching
match expr { pattern => body }Result Types
ok(value) / err(message)Async Foundations
async fn fetch() { await task; }Modules & Imports
import { name } from "std.math"Conditionals & Loops
if/while/forCollections
arrays, mapsDeveloper Tooling
- Compiler pipeline (lex → parse → semantic → IR)
- Tau CLI (tau run, build, test, fmt, lint, doc)
- taupm package manager
- Language Server (LSP) with Monaco IntelliSense
- Formatter (tau fmt)
- Debugger (breakpoints, step, watch)
- Testing framework (tau test)
- Documentation generator (tau doc)
- AI code review (tau lint --ai)
CLI & taupm
tau new <name>Create new project
tau initInitialize taupm.toml
tau run [file]Run TauScript
tau buildCompile to IR
tau compileCompile to JavaScript
tau testRun test suite
tau fmtFormat source
tau lintLint and analyze
tau docGenerate documentation
tau doctorCheck environment
tau pm installInstall dependencies (taupm)
tau pm searchSearch package registry
Standard Library (15 modules)
std.mathadd, subtract, multiply, divide…
std.stringlength, upper, lower, trim…
std.ioprintln, print…
std.collectionspush, pop, map, filter…
std.jsonparse, stringify, pretty…
std.timenow, iso, format, sleep…
std.cryptohash, random_bytes…
std.envget, platform…
std.httpget, post, status_ok…
std.fsread, write, exists, delete…
std.encodingbase64_encode, base64_decode, url_encode, url_decode…
std.randomfloat, int, choice…
std.logginginfo, warn, error, debug…
std.configload, get…
std.compressiongzip, ungzip…
Live REPL
// output
Examples
Spec: src/lib/tau-ide/tauscript-v1-spec.md · Terminal REPL · Tau IDE