What is TechScript?
TechScript is an open-source compiled programming language designed to make code read like structured English while retaining native systems performance. The compiler and runtime toolchain are built from scratch in Rust.
Compiler Pipeline
- Lexer & Tokenizer: Converts source code into discrete typed tokens with source span coordinates.
- Recursive Descent Parser: Generates a strict Abstract Syntax Tree (AST) validating grammar rules.
- Bytecode Compiler: Lowers the AST into compact bytecode instructions.
- Stack-Based Virtual Machine: Executes bytecode with NaN-boxed value representations and lexical call frames.
- CLI Driver ('tsc'): Unified developer tooling for run, build, check, format, and lint commands.
Source Repository: github.com/Tcode-Motion/techscript