TechScript is an open-source programming language built with Rust, featuring a native compiler, virtual machine, package manager, and modern tooling. Build CLI, web, GUI, automation, AI, and full-stack applications using clean, readable syntax.
Repo Tcode-Motion/techscript, read from GitHub 24 min ago. Tcode-Motion has not joined Take My Repo.
TechScript 2.0.0 is the official stable release of the TechScript programming language and WebForge full-stack framework under the Apache License 2.0.
.txs). Reactive UI, client single-page routing, and full-stack integration with zero node_modules.database and table schemas with dynamic /api/<table_name> REST endpoints and live client-side data binding.See the attached assets below or verify hashes using SHA256SUMS.txt.
| Platform | Architecture | Package |
|---|---|---|
| Windows 10/11 | x86_64 | techscript-2.0.0-windows-x86_64.zip |
| Linux | x86_64 | techscript-2.0.0-linux-x86_64.tar.gz |
| Linux | aarch64 | techscript-2.0.0-linux-aarch64.tar.gz |
| macOS | aarch64 (Apple Silicon) | techscript-2.0.0-macos-aarch64.tar.gz |
| macOS | x86_64 (Intel) | techscript-2.0.0-macos-x86_64.tar.gz |
| Android Termux | aarch64 | techscript-2.0.0-termux-aarch64.tar.gz |
Documentation and interactive guides are available at https://is-a.dev/techscript/.
Detailed release logs and features added across major TechScript versions.
Release tag: v2.0.0.1
Base compatibility line: v2.0.x
tsc lint --fix for applying safe, automated lint corrections.2.0.0; 2.0.0.1 is the release revision tag used for packaging and publication.do, send, when, loop, repeat, for, in, match, try, catch, throw, use, class, struct, enum, trait, interface, const, null, say, ask, break, continue, else, async, await, parallel, end, new, self, true, false, typeof, with).tech fmt tools.$"..." string syntax..txs scripts launches a persistent console runner.TechScript is a general-purpose, human-first programming language designed to eliminate the syntax clutter of traditional coding. Instead of curly braces, semicolons, and cryptic operator symbols, TechScript uses a clean, keyword-based English grammar.
Under the hood, TechScript is built in Rust for safety and speed. It compiles source files into highly optimized bytecode executed on a custom stack-based Virtual Machine (VM) with NaN-boxed values and a tracing garbage collector, or can generate native code via an LLVM backend.
{, }, (, ), ;, &&, and || with clear keywords like do, end, when, else, and, and or.| Traditional Languages | TechScript's Answer | Benefit |
|---|---|---|
Syntax clutter ({}, (), ;) |
Plain-English block keywords (do/end, when) |
Fewer syntax errors and high readability |
| Bloated build dependency chains | Single toolchain executable (tsc) |
Instant setups with formatting & testing |
| Heavy memory overhead | Lightweight custom NaN-boxed stack VM | High performance and small footprint |
Here is a side-by-side comparison of TechScript 2.0 with JavaScript and Python:
| Feature | TechScript | JavaScript | Python |
|---|---|---|---|
| Variable | x = 10 |
let x = 10; |
x = 10 |
| Constant | const PI = 3.14159 |
const PI = 3.14159; |
PI = 3.14159 (convention) |
| Function | do greet(name)Β Β Β Β send "Hi " + nameend |
function greet(name) {Β Β Β Β return "Hi " + name;} |
def greet(name):Β Β Β Β return "Hi " + name |
| Condition | when x > 5Β Β Β Β say "Big"elseΒ Β Β Β say "Small"end |
if (x > 5) {Β Β Β Β console.log("Big");} else {Β Β Β Β console.log("Small");} |
if x > 5:Β Β Β Β print("Big")else:Β Β Β Β print("Small") |
| For Loop | for x in listΒ Β Β Β say xend |
for (let x of list) {Β Β Β Β console.log(x);} |
for x in list:Β Β Β Β print(x) |
| Try / Catch | tryΒ Β Β Β res = divide(10, 0)catch errorΒ Β Β Β say errorend |
try {Β Β Β Β let res = divide(10, 0);} catch (error) {Β Β Β Β console.error(error);} |
try:Β Β Β Β res = divide(10, 0)except Exception as error:Β Β Β Β print(error) |
The TechScript compiler driver (tsc) processes source files through a strict pipeline:
graph TD A[Source Code .txs] --> B[Logos-based Lexer] B --> C[Pratt expression Parser] C --> D[Abstract Syntax Tree AST] D --> E[Semantic Analysis & Scope Audit] E --> F[AST Optimizer & Constant Folder] F --> G[IR Crate Generation] G --> H{Execution Target} H -->|VM Target| I[Bytecode Compiler] H -->|Native Target| J[LLVM Backend Crate] I --> K[Bytecode Format .txc] K --> L[Stack VM & Tracing GC] J --> M[Standalone Native Executable]
The tsc driver tokenizes the program, builds an AST, checks lexical scopes and types, runs constant folding, and compiles the result into bytecode for the VM or leverages LLVM to emit native machine code.
TechScript_Setup.exe (or TechScript_Portable.zip for a zero-install portable version).tsc) and VM.tsc to your system environment PATH..txs scripts.curl -fsSL https://raw.githubusercontent.com/Tcode-Motion/techscript/main/scripts/install.sh | bashRecommended Method (Shell script):
pkg update
pkg install curl
curl -fsSL https://raw.githubusercontent.com/Tcode-Motion/techscript/main/scripts/install.sh | bashAlternative Method (pip β Not Recommended):
pkg update pkg install python pip install techscript techscript install
(Note: Python installations in Termux may require the --break-system-packages flag under PEP 668).
pip install techscript # or: pip install techscript-lang
techscript installThe PyPI package auto-detects your OS/architecture and downloads the correct native binary from GitHub Releases.
Homebrew (
brew install techscript), Winget, and Scoop support coming soon!
Once TechScript is installed, you can write and execute your first script in under 10 seconds:
mkdir hello_world
cd hello_worldhello.txs and add:
say "Hello, World! π"
tsc compiler driver:
tsc run hello.txs
TechScript's syntax builds from simple assignments to full structured programs:
message = "Hello TechScript"
when/else blocks.
when status == "active"
say "Running"
end
for ranges or collection iterators.
for i in 0..5
say i
end
do block and returns with send.
do square(n)
send n * n
end
For detailed guides, see the Language Guide and the Syntax Guide.
TechScript features a self-contained, native standard library:
| Module | Description | Guide Link |
|---|---|---|
math |
Square root, trigonometry, and basic math operations | Stdlib Reference |
collections |
Operations for pushing to lists or reading map keys | Stdlib Reference |
file |
File writing, reading, and removal utilities | Stdlib Reference |
json |
Encoding maps/lists to JSON strings and decoding them | Stdlib Reference |
http |
HTTP client GET and POST utilities | Stdlib Reference |
sqlite |
Local relational database connector | Stdlib Reference |
canvas |
2D vector viewport shapes and text drawing | Canvas Guide |
time |
Clock, scheduling, and thread sleep functions | Stdlib Reference |
thread |
Native OS thread spawner and thread join interfaces | Stdlib Reference |
ai |
Seamless Gemini prompt and text generation functions | Stdlib Reference |
testing |
Assertion macros for unit testing suite | Stdlib Reference |
Run these subcommands via the unified tsc compiler driver:
| Subcommand | Description |
|---|---|
run |
Compiles and executes a single .txs script |
build |
Builds the workspace project matching package.toml |
check |
Checks the workspace for compile-time errors |
fmt |
Standardizes codebase layouts using tsfmt |
lint |
Evaluates safety traps and warns on deprecated patterns |
migrate |
Translates legacy v1.x scripts to v2.0 keywords |
clean |
Deletes compiled target caches and logs |
new |
Scaffolds a new workspace project |
test |
Locates and executes all #[test] unit tests |
repl |
Launches the interactive shell REPL |
publish |
Submits the module package to the package registry |
install |
Installs a library dependency |
uninstall |
Removes an installed package |
update |
Updates workspace packages to their latest versions |
doctor |
Scans workspace paths and toolchain installations |
dump-ast |
Outputs the AST representation in JSON/text format |
dump-ir |
Outputs the Intermediate Representation |
dump-bytecode |
Outputs the compiled virtual machine bytecode |
emit-llvm |
Generates LLVM IR representation |
emit-asm |
Generates assembly representation |
benchmark |
Executes automated platform runtime benchmarks |
Find runnable examples in the examples/ folder:
| Directory | Script | Description | Run Command |
|---|---|---|---|
| ai | prompt.txs |
Prompting Gemini AI model natively via the standard library | tsc run examples/ai/prompt.txs |
| async | async.txs |
Concurrent event loop with async subroutines and await |
tsc run examples/async/async.txs |
| calculator | calculator.txs |
Standard math functions and basic error throwing | tsc run examples/calculator/calculator.txs |
| canvas | draw.txs |
Drawing rects, circles, text inside a viewport | tsc run examples/canvas/draw.txs |
| collections | collections.txs |
Manipulating and iterating over lists and maps | tsc run examples/collections/collections.txs |
| database | db.txs |
Dynamic SQL schema setup and querying with SQLite | tsc run examples/database/db.txs |
| enums | enums.txs |
Declaring and pattern matching enum types | tsc run examples/enums/enums.txs |
| error_handling | errors.txs |
Exception handlers using try, catch, and throw |
tsc run examples/error_handling/errors.txs |
| file_reader |
A friendly, plain-English programming language and high-performance developer workspace built entirely in Rust.
TechScript is an elegant, human-centric, high-performance programming language designed to replace confusing syntaxes with friendly, expressive plain-English instructions. Underneath its natural language surface lies a lightning-fast native compiler and Virtual Machine written entirely in pure Rust, delivering high stability, robust error handling, and memory efficiency with zero runtime runtime bottlenecks.
This directory contains the official standalone production release (v1.0.8), which includes the full command-line compiler, native VM, and the state-of-the-art TechScript Studio IDE.
egui_dock): A state-of-the-art, responsive multi-pane workspace layout. Drag, split, and dock layouts to match your workflow:
.txs scripts instantly.π Stdout (Emerald green #0DF28B), β Compiler (Electric blue #00A3FF), and π VM Debugger (Lavender purple #D8B4FE).π§Ή Clear Logs, π Copy Output, and a glowing βΆ Re-run Script action button.22x22 in the top left header menu..txs script inside Windows Explorer launches a native command-line host that executes the code and stays open, printing:
[Process completed. Press Enter to exit...]
TechScript_v1.0.8_x64.exe that supports advanced maintenance configurations:
| Asset | Description |
|---|---|
TechScript_v1.0.8_x64.exe |
The complete graphical installer containing the compiler, virtual machine, and IDE workspace. |
techscript-logo.png |
High-resolution branding logo for visual integration. |
README.md |
This setup manual. |
TechScript_v1.0.8_x64.exe installer executable in this folder.tech CLI commands from standard command prompts.examples/ directory of the repository to confirm successful installation!Create a file named hello.txs and write the following plain-English code:
// Say hello to the world!
say "Hello World!"
// Perform calculations naturally
make x be 10
make y be 20
make sum be x + y
say "The sum is:"
say sum
Run it instantly inside the Studio IDE or via command-line:
tech run hello.txs
Developed and maintained with passion by Tanmoy Majumder.
For bug reports, feature requests, or contributions, please open an issue on the official GitHub repository!
A friendly, plain-English programming language and high-performance developer workspace built entirely in Rust.
TechScript is an elegant, human-centric, high-performance programming language designed to replace confusing syntaxes with friendly, expressive plain-English instructions. Underneath its natural language surface lies a lightning-fast native compiler and Virtual Machine written entirely in pure Rust, delivering high stability, robust error handling, and memory efficiency with zero runtime runtime bottlenecks.
This directory contains the official standalone production release (v1.0.7), which includes the full command-line compiler, native VM, and the state-of-the-art TechScript Studio IDE.
egui_dock): A state-of-the-art, responsive multi-pane workspace layout. Drag, split, and dock layouts to match your workflow:
.txs scripts instantly.π Stdout (Emerald green #0DF28B), β Compiler (Electric blue #00A3FF), and π VM Debugger (Lavender purple #D8B4FE).π§Ή Clear Logs, π Copy Output, and a glowing βΆ Re-run Script action button.22x22 in the top left header menu..txs script inside Windows Explorer launches a native command-line host that executes the code and stays open, printing:
[Process completed. Press Enter to exit...]
TechScript_v1.0.7_x64.exe that supports advanced maintenance configurations:
| Asset | Description |
|---|---|
TechScript_v1.0.7_x64.exe |
The complete graphical installer containing the compiler, virtual machine, and IDE workspace. |
techscript-logo.png |
High-resolution branding logo for visual integration. |
README.md |
This setup manual. |
TechScript_v1.0.7_x64.exe installer executable in this folder.tech CLI commands from standard command prompts.examples/ directory of the repository to confirm successful installation!Create a file named hello.txs and write the following plain-English code:
// Say hello to the world!
say "Hello World!"
// Perform calculations naturally
make x be 10
make y be 20
make sum be x + y
say "The sum is:"
say sum
Run it instantly inside the Studio IDE or via command-line:
tech run hello.txs
Developed and maintained with passion by Tanmoy Majumder.
For bug reports, feature requests, or contributions, please open an issue on the official GitHub repository!
A friendly, plain-English programming language and high-performance developer workspace built entirely in Rust.
TechScript is an elegant, human-centric, high-performance programming language designed to replace confusing syntaxes with friendly, expressive plain-English instructions. Underneath its natural language surface lies a lightning-fast native compiler and Virtual Machine written entirely in pure Rust, delivering high stability, robust error handling, and memory efficiency with zero runtime runtime bottlenecks.
This directory contains the official standalone production release (v1.0.6), which includes the full command-line compiler, native VM, and the state-of-the-art TechScript Studio IDE.
egui_dock): A state-of-the-art, responsive multi-pane workspace layout. Drag, split, and dock layouts to match your workflow:
.txs scripts instantly.π Stdout (Emerald green #0DF28B), β Compiler (Electric blue #00A3FF), and π VM Debugger (Lavender purple #D8B4FE).π§Ή Clear Logs, π Copy Output, and a glowing βΆ Re-run Script action button.22x22 in the top left header menu..txs script inside Windows Explorer launches a native command-line host that executes the code and stays open, printing:
[Process completed. Press Enter to exit...]
TechScript_v1.0.6_x64.exe that supports advanced maintenance configurations:
| Asset | Description |
|---|---|
TechScript_v1.0.6_x64.exe |
The complete graphical installer containing the compiler, virtual machine, and IDE workspace. |
techscript-logo.png |
High-resolution branding logo for visual integration. |
README.md |
This setup manual. |
TechScript_v1.0.6_x64.exe installer executable in this folder.tech CLI commands from standard command prompts.examples/ directory of the repository to confirm successful installation!Create a file named hello.txs and write the following plain-English code:
// Say hello to the world!
say "Hello World!"
// Perform calculations naturally
make x be 10
make y be 20
make sum be x + y
say "The sum is:"
say sum
Run it instantly inside the Studio IDE or via command-line:
tech run hello.txs
Developed and maintained with passion by Tanmoy Majumder.
For bug reports, feature requests, or contributions, please open an issue on the official GitHub repository!