ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β Code should speak to humans first, machines second. β
β No semicolons. No brackets. No confusing symbols. β
β Just plain English β compiled to blazing-fast Rust bytecode. β
β β Tcode-Motion π β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- π€ What is TechScript?
- β‘ Why TechScript?
- π What's New in v1.0.8
- π Quick Start
- π¦ Installation
- π Language Guide
- π Web Builder Module
- β‘ Standard Library β 150+ Functions
- π οΈ All CLI Commands
- π All Example Programs
- π¨ VS Code Extension
- π Full Version History
- π Documentation
- π Platform Support
- π Repo Structure
- π¨βπ» Author
- π License
TechScript is an open-source, human-first programming language designed to eliminate the cognitive overhead of traditional syntax. Instead of symbols, brackets, and cryptic keywords β you write in plain English.
Under the hood, a native compiler and bytecode Virtual Machine written entirely in Rust handle execution with zero-overhead memory safety and high throughput.
// Traditional JavaScript β confusing
const x = document.getElementById('name');
if (x !== null && x.value.length > 0) { console.log(`Hello ${x.value}`); }// TechScript β reads like English
make name = ask "What is your name? "
say f"Hello, {name}!"
TechScript is:
- π’ A programming language β write code that runs natively on your computer
- π A web builder β build full websites with zero HTML, CSS, or JS
- π¦ Powered by Native Rust β blazing-fast bytecode VM, no Python dependency
- π₯οΈ Ships with a full IDE β TechScript Studio, built with
egui+egui_dock - π¦ One installer β compiler, VM, IDE, PATH setup,
.txsassociations, all in one.exe
| Problem with traditional languages | TechScript's answer |
|---|---|
| Cryptic syntax creates a steep learning curve | Plain-English keywords: make, say, when, each, build |
| Slow interpreted languages, slow feedback loops | Native Rust compiler + bytecode VM = fast execution |
| No built-in IDE for newcomers | Ships with TechScript Studio β a full docking IDE |
| Fragmented toolchain setup | Single .exe installer β compiler, VM, IDE, PATH, all in one |
| No way to build websites easily | use web β full websites with zero HTML, CSS, or JS |
| Missing stdlib for real-world tasks | 150+ built-in functions: math.*, crypto.*, fs.*, os.*, json.* |
A full-featured, cyberpunk-aesthetic developer workspace built with egui + egui_dock:
- Resizable docking layout β drag, split, and dock panels freely
- Code Editor β high-performance with custom line-number gutter
- Workspace Explorer β browse and load
.txsscripts instantly - Multi-Channel Terminal β real-time stdout + diagnostic logs, color-coded by channel
- AST Inspector β live parse tree view alongside your code
- Bytecode Inspector β see exactly what VM instructions your code compiles to
Terminal channel colors:
| Channel | Color | Purpose |
|---|---|---|
π Stdout |
Emerald #0DF28B |
Script output |
β Compiler |
Electric Blue #00A3FF |
Build diagnostics |
π VM Debugger |
Lavender #D8B4FE |
Runtime debug info |
Inline controls: π§Ή Clear Logs Β· π Copy Output Β· βΆ Re-run Script
Double-clicking any .txs file in Windows Explorer now launches a native terminal host that runs the script and holds output open:
[Process completed. Press Enter to exit...]
No more disappearing terminal windows.
The unified TechScript_v1.0.8_x64.exe includes a full maintenance suite:
| Mode | What it does |
|---|---|
| β Modify | Customize PATH variables, shortcuts, .txs file associations |
| π§ Repair | Restore missing binaries and broken registry keys |
| π Uninstall | Clean removal β PATH, registry, folders, all gone |
1. Download & install:
TechScript_v1.0.8_x64.exe
Tick Add to PATH + Associate .txs Files during setup. Done.
2. Write your first script β create hello.txs:
say "Hello, World!"
make x = 10
make y = 20
make sum = x + y
say f"Result: {sum}"
3. Run it:
tech run hello.txsOr just double-click hello.txs in Windows Explorer.
- Go to the π₯ Releases page
- Download
TechScript_v1.0.8_x64.exe - Double-click it β installs everything automatically
- Open PowerShell (
Win + X) and run:
tech version
You should see: TechScript v1.0.8 π
What the installer does automatically:
- β Installs the native Rust compiler + bytecode VM
- β Installs TechScript Studio IDE
- β
Makes the
techcommand available everywhere - β
Registers
.txsfiles for double-click execution - β Installs the VS Code extension for syntax highlighting
pip install techscript-langOne-line installer:
curl -fsSL https://raw.githubusercontent.com/Tcode-Motion/techscript/main/scripts/install.sh | bashAPT (Debian/Ubuntu):
sudo apt update && sudo apt install techscript# Homebrew
brew install tcode-motion/techscript/techscript
# OR one-line installer
curl -fsSL https://raw.githubusercontent.com/Tcode-Motion/techscript/main/scripts/install.sh | bashpkg update && pkg upgrade -y
pkg install python -y
pip install techscript-lang
tech versionUpdate: pip install --upgrade techscript-lang
π See docs/TERMUX.md for the full Android guide.
# 'make' creates a variable
make name = "Alice"
# 'keep' creates a CONSTANT β can never be changed
keep PI = 3.14159
make age = 25
make items = [1, 2, 3, 4, 5] # List
make info = { "city": "Delhi" } # Dictionary
say "Hello!"
say f"My name is {name}!" # f-string
say 10 + 5 # Prints: 15
make name = ask "What is your name? "
say f"Nice to meet you, {name}!"
make age = 20
when age >= 18 {
say "You are an adult!"
} or when age >= 13 {
say "You are a teenager!"
} else {
say "You are a child!"
}
# Range loop
each i in 1..5 {
say f"Count: {i}"
}
# List loop
each fruit in ["apple", "banana", "mango"] {
say f"I like {fruit}!"
}
# While loop
make x = 1
repeat x <= 5 {
say x
x = x + 1
}
# stop (break) and skip (continue) β fixed in v1.0.3
each i in 1..10 {
when i == 5 { stop }
when i == 3 { skip }
say i
}
# 'in' β containment check
make fruits = ["apple", "banana"]
when "apple" in fruits { say "Found it!" }
when "ello" in "Hello" { say "Substring!" }
# 'typeof' β get the real type name
say typeof 42 # int
say typeof "Alice" # str
say typeof [1, 2] # list
build greet(name, greeting = "Hello") {
say f"{greeting}, {name}!"
}
greet("Alice") # Hello, Alice!
greet("Bob", "Hi there") # Hi there, Bob!
model Dog {
build init(self, name, breed) {
self.name = name
self.breed = breed
}
build speak(self) {
say f"{self.name} says: Woof!"
}
}
make rex = Dog("Rex", "German Shepherd")
rex.speak() # Rex says: Woof!
attempt {
make result = 10 / 0
} catch err {
say f"Caught: {err.message}"
}
say "Program continues!"
// Variables (new style)
make x be 10
make name be "TechScript"
// Conditionals (new style)
when version equals 1 then
say "Latest build!"
end
// Loops (new style)
each item in list then
say item
end
// Functions (new style)
build greet with name then
say "Hello, " + name
end
greet "World"
Type use web at the top β build a complete running website in one .txs file:
use web
make page = WebPage("My Website")
page.style("body", {
"background": "#0f0f11",
"color": "#eeeeee",
"text-align": "center",
"padding": "60px"
})
page.script("""
function sayHello() { alert('Hello from TechScript! π'); }
""")
page.body([
page.h1("Welcome! π"),
page.p("Built 100% in TechScript. No HTML. No CSS."),
page.button("Click Me!", { "onclick": "sayHello()" })
])
page.run()
Run it:
tech run my_website.txs
Browser opens automatically. Press Ctrl+C to stop.
Everything baked into the binary. No internet imports needed.
say math.sin(3.14159)
say math.factorial(10) # 3628800
say math.gcd(48, 18) # 6
say math.mean([1, 2, 3, 4, 5]) # 3.0
say math.sqrt(144) # 12.0
say math.TAU # 6.283185...
say crypto.sha256("hello") # FIPS 180-4 SHA-256
say crypto.md5("hello") # MD5 hash
say crypto.base64_encode("TechScript") # Base64
say crypto.base64_decode("VGVjaFNjcmlwdA==")
make data = { "name": "Alice", "age": 25 }
say json.encode(data)
say json.encode_pretty(data)
make parsed = json.decode('{"x": 1}')
fs.write("hello.txt", "Hello, World!")
say fs.read("hello.txt")
say fs.exists("hello.txt") # true
fs.append("hello.txt", "\nMore!")
say fs.list_dir(".")
say os.name() # windows / linux / macos
say os.arch() # x86_64
say os.env_get("PATH")
os.system("echo Hello!")
say random.random() # 0.0-1.0
say random.randint(1, 100)
say random.uuid()
say random.choice(["a","b","c"])
say date.now() # 2025-03-12 14:30:00
say date.year()
say date.unix() # unix timestamp
| Command | What it does | Example |
|---|---|---|
tech run file.txs |
Run a TechScript file | tech run hello.txs |
tech run file.txs --debug |
Run with debug info | tech run calc.txs --debug |
tech check file.txs |
Check for errors without running | tech check myapp.txs |
tech eval "code" |
β‘ Run inline code instantly | tech eval "say 42" |
tech "[[[code]]]" |
β‘ Shorthand inline execution | tech "[[[say 'hi']]]" |
tech repl |
Open interactive live mode | tech repl |
tech transpile file.txs |
Convert code to Python | tech transpile hello.txs |
tech fmt |
π Auto-format your code | tech fmt myapp.txs |
tech lint |
π Find errors before running | tech lint myapp.txs |
tech build |
π Compile to bytecode (.txc) |
tech build myapp.txs |
tech test |
π Run built-in unit tests | tech test |
tech studio |
π Launch TechScript Studio IDE | tech studio |
tech version |
Show installed version | tech -V |
| File | What it does | Run it |
|---|---|---|
examples/hello.txs |
Hello World | tech run examples/hello.txs |
examples/fibonacci.txs |
Fibonacci numbers | tech run examples/fibonacci.txs |
examples/fizzbuzz.txs |
Classic FizzBuzz | tech run examples/fizzbuzz.txs |
examples/classes.txs |
OOP with Dogs & Cats | tech run examples/classes.txs |
examples/calculator.txs |
Simple calculator | tech run examples/calculator.txs |
examples/guessing_game.txs |
Guess the number | tech run examples/guessing_game.txs |
examples/07_performance_test.txs |
β‘ 1M-iteration benchmark | tech run examples/07_performance_test.txs |
examples/web_app_simple.txs |
Dark-theme website | tech run examples/web_app_simple.txs |
examples/web_complete.txs |
Counter + API + form | tech run examples/web_complete.txs |
β‘ examples/08_math_module.txs |
Math: trig, roots, stats | tech run examples/08_math_module.txs |
β‘ examples/09_string_ops.txs |
String operations | tech run examples/09_string_ops.txs |
β‘ examples/10_json_module.txs |
JSON encode/decode | tech run examples/10_json_module.txs |
β‘ examples/11_crypto_module.txs |
SHA-256, Base64, MD5 | tech run examples/11_crypto_module.txs |
β‘ examples/12_date_module.txs |
Date/time/unix | tech run examples/12_date_module.txs |
β‘ examples/13_fs_module.txs |
File read/write/list | tech run examples/13_fs_module.txs |
β‘ examples/14_os_module.txs |
OS info, env vars | tech run examples/14_os_module.txs |
β‘ examples/15_random_module.txs |
Random, UUID, choice | tech run examples/15_random_module.txs |
β‘ examples/16_control_flow_fix.txs |
stop/skip/in/typeof | tech run examples/16_control_flow_fix.txs |
β‘ examples/17_inline_eval.txs |
Inline execution howto | tech run examples/17_inline_eval.txs |
Get syntax highlighting, code snippets, and the π dragon file icon for .txs files:
Method 1 β Command line:
code --install-extension vscode-extension/techscript-1.0.8.vsixMethod 2 β GUI:
- Open VS Code
- Press
Ctrl+Shift+X - Click
Β·Β·Β·β "Install from VSIX..." - Choose
vscode-extension/techscript-1.0.8.vsix
techscript/
βββ assets/ # Logo and branding
βββ bin/ # Compiled binaries (TechScript_TX.exe)
βββ docs/ # Language reference and guides
β βββ QUICKSTART.md
β βββ REFERENCE.md
β βββ STDLIB_REFERENCE.md
β βββ WEB_MODULE.md
β βββ TERMUX.md
βββ examples/ # 17+ ready-to-run .txs scripts
βββ scripts/ # install.sh for Linux/macOS
βββ vscode-extension/ # techscript-1.0.8.vsix
βββ TechScript_v1.0.8_x64.exe # Windows installer
βββ README.md
| Version | Engine | Key Feature Added |
|---|---|---|
| v1.0.0 | Python | Core scripting: say, make, loops, functions, classes |
| v1.0.1 | Python | use web β build websites; Windows Setup.exe; install.sh |
| v1.0.2 | π¦ Rust VM | Full Rust rewrite; 1M loops in 2.9s; zero deps; error handling |
| v1.0.3 | π¦ Rust VM | 150+ stdlib (math, crypto, fs, os, json, random, date); stop/skip fixed; in/typeof; tech eval |
| v1.0.5 | π¦ Rust VM | use three_d module; TechScript_TX.exe; fmt/lint/build/test toolchain |
| v1.0.8 | π¦ Rust VM | TechScript Studio IDE (egui+egui_dock); AST+Bytecode Inspector; .txs shell integration; Maintenance Manager |
- TechScript Studio β Full docking IDE with Code Editor, Workspace Explorer, Multi-Channel Terminal, AST Inspector, Bytecode Inspector
- Windows Shell Integration β Double-click
.txsfiles to run, terminal stays open - Maintenance Manager β Modify, Repair, Uninstall modes inside the installer
- New syntax style β
make x be 10,when x equals y then...end,build fn with arg then...end
use three_dβ 3D scenes in 5 linesTechScript_TX.exestandalone binary- Developer toolchain:
tech fmt,tech lint,tech build,tech test - Glowing neon VS Code icons
- Eliminated
unsafe transmuteβ 100% type-safe bytecode - Fixed
stop/skip(previously compiled to wrong instruction) - Fixed
inoperator andtypeof - Added
tech eval "code"inline execution - 150+ stdlib functions in 7 modules
- Fixed Windows PATH truncation bug
- Deleted Python runtime entirely β rewrote in Rust
- Native bytecode VM: 1 million loops in 2.9 seconds
attempt {} catch err {}error handlingtechscriptv1.0.2.exenative Windows binary
- Linux + macOS native Rust builds
- Standard library expansion (
use http,use sql) - TechScript Package Registry
- WASM compilation target
- Language Server Protocol (LSP) support
- Interactive REPL in Studio IDE
- Android native build (no Python dependency)
| Document | Description |
|---|---|
| Quick Start Guide | Step-by-step install for all platforms |
| Language Cheat Sheet | All keywords, functions, and syntax |
| Standard Library Reference | All 150+ built-in functions by module |
| Web Module Guide | Build websites with TechScript |
| Termux Guide | Install and run on Android |
| Platform | Status | Install Method |
|---|---|---|
| Windows 10/11 | β Fully supported | TechScript_v1.0.8_x64.exe or pip |
| macOS | β Fully supported | install.sh or brew |
| Linux (Ubuntu, Kali, Arch) | β Fully supported | install.sh or apt |
| Android (Termux) | β Works | pip install techscript-lang |
Built by Tanmoy Majumder β independent developer, West Bengal, India.
| π₯ Project | π Description |
|---|---|
| π TechScript | Plain-English programming language β Native Rust VM + Studio IDE |
| π NovOS | Cinematic web OS β POSIX VFS, Nova AI, Aether Design |
| π§ Project JARVIS | Personal AI assistant built in Python |
| π¨ 3D Visuals | WebGL particle systems + Three.js experiences |
| π€ AR Keyboard | Hand-gesture virtual keyboard with OpenCV + MediaPipe |
"Write like a human. Run like Rust."
MIT β free to use, modify, and distribute. See LICENSE.
