11# 🐉 TechScript — Cinema Edition (v1.0.5)
22
33<p align =" center " >
4- <img src =" assets/icons/master_1024_enhanced .png " alt =" TechScript Dragon Logo " width =" 220 " >
4+ <img src =" assets/logo .png " alt =" TechScript Dragon Logo " width =" 220 " >
55</p >
66
77<p align =" center " >
1717
1818</div >
1919
20- <div align =" center " >
21-
22- ![ deps] ( https://img.shields.io/badge/dependencies-NONE-00ff88?style=for-the-badge )
23- ![ stdlib] ( https://img.shields.io/badge/stdlib-180%2B_functions-7c3aed?style=for-the-badge )
24- ![ vscode] ( https://img.shields.io/badge/VS_Code-Extension_v1.0.5-007ACC?style=for-the-badge&logo=visualstudiocode&logoColor=white )
25- [ ![ Author] ( https://img.shields.io/badge/Made_by-Tcode--Motion-181717?style=for-the-badge&logo=github )] ( https://github.com/Tcode-Motion/techscript )
26-
27- </div >
28-
2920---
3021
3122## ✨ What's New in v1.0.5
@@ -40,94 +31,172 @@ This is a milestone release that transitions TechScript to a **fully native Rust
4031
4132---
4233
43- < div align = " center " >
34+ ## 📖 Learn TechScript: From 0 to 100 🚀
4435
45- ```
46- ╔═════════════════════════════════════════════════════════════════════════╗
47- ║ ║
48- ║ No semicolons. No brackets. No confusing symbols. ║
49- ║ Universal Support — Windows, Linux, Mac, & Termux! ║
50- ║ Blazing Fast Native Rust VM + Premium 3D Animation Studio! ⚡ ║
51- ╚═════════════════════════════════════════════════════════════════════════╝
52- ```
36+ TechScript is designed to be ** human-first** . No semicolons, no brackets, just pure logic. This guide will take you from your first "Hello" to building professional 3D simulations.
5337
54- </ div >
38+ ### 🏁 Step 0: Installation
5539
56- ---
40+ | Platform | Recommended Method | Get Started |
41+ | :---| :---| :---|
42+ | ** 🪟 Windows** | ** Full Setup Wizard** | [ Download Setup] ( bin/TechScript_v1.0.5_Setup.exe ) |
43+ | ** 🪟 Windows** | Standalone Binary | [ Download (.exe)] ( bin/TechScript_TX.exe ) |
44+ | ** 🐧 Linux** | One-Liner Install | `curl -fS scripts/install.sh | bash` |
45+ | ** 🍎 macOS** | One-Liner Install | `curl -fS scripts/install.sh | bash` |
46+ | ** 📱 Android** | Termux Engine | ` pkg install python && pip install techscript-lang ` |
5747
58- ## 🤔 What is TechScript? (Explain Like I'm 10)
48+ ---
5949
60- Imagine you want to tell a computer to do something. Normally, computers only understand confusing code like this:
50+ ### 🟢 Level 1: Core Basics
6151
62- ``` javascript
63- const x = document .getElementById (' name' );
64- if (x !== null && x .value .length > 0 ) { ... }
52+ #### 1. Hello World
53+ The simplest command in the language.
54+ ``` techscript
55+ say "Hello World!"
6556```
6657
67- ** TechScript makes that feel like writing a sentence:**
58+ #### 2. Variables & Constants
59+ Use ` make ` for values that change and ` keep ` for fixed ones.
60+ ``` techscript
61+ make score = 0
62+ keep PI = 3.14159
6863
69- ```
70- make name = ask "What is your name? "
71- say f"Hello, {name}!"
64+ score = score + 10 # Works!
65+ PI = 3.15 # FAIL! Constants are protected.
7266```
7367
74- TechScript is:
75- - 🟢 ** A programming language** — writes code that runs natively.
76- - 🌐 ** A web builder** — build full interactive websites without HTML/CSS.
77- - 🦀 ** Powered by Native Rust** — blazing speed on Windows (Native x64).
78- - 📦 ** Zero Logic Bloat** — No semicolons. No brackets. Just pure logic.
68+ #### 3. Data Types
69+ TechScript handles numbers, text, and collections naturally.
70+ ``` techscript
71+ make name = "Dragon" # String
72+ make age = 5 # Number
73+ make powers = ["Fire", "Flight"] # List
74+ make stats = {"hp": 100} # Map (Dictionary)
75+ ```
7976
8077---
8178
82- ## 🚀 Key Features
79+ ### 🟡 Level 2: Logic & Control Flow
80+
81+ #### 1. Decisions (If/Else)
82+ We use ` when ` instead of ` if ` .
83+ ``` techscript
84+ make temp = 30
85+
86+ when temp > 35 {
87+ say "It's scorching!"
88+ } or when temp > 20 {
89+ say "Nice weather."
90+ } else {
91+ say "Brrr... cold."
92+ }
93+ ```
8394
84- | Feature | Description | Support |
85- | :---| :---| ---|
86- | ** Cinema Studio** | ** Advanced 3D Motion Design & Accretion Disk Simulation** | ✅ v7.0 |
87- | ** Transpilation** | Auto-convert TechScript to clean Python for production | ✅ YES |
88- | ** Web Module** | Build UIs with ` page.h1() ` , ` page.style() ` , and ` page.run() ` | ✅ YES |
89- | ** 180+ Functions** | Rich StdLib (Math, Crypto, OS, FS, JSON, Date, etc.) | ✅ YES |
90- | ** Native Binary** | Runs without any dependencies on Windows | ✅ YES |
91- | ** Termux Force** | Optimized for Android development with built-in examples | ✅ YES |
95+ #### 2. Repeating Work (Loops)
96+ ``` techscript
97+ # Loop through a list
98+ each skill in ["Sprinting", "Jumping"] {
99+ say f"Leveling up {skill}..."
100+ }
101+
102+ # Counting with a range
103+ each i in 1..5 {
104+ say f"Lap {i}"
105+ }
106+
107+ # Loop until a condition is met
108+ make fuel = 3
109+ repeat fuel > 0 {
110+ say "Flying!"
111+ fuel -= 1
112+ }
113+ ```
92114
93115---
94116
95- ## 📦 Installation
117+ ### 🟠 Level 3: Reusing Logic (Functions)
96118
97- | Platform | Architecture | Type | Download / Install |
98- | :---| :---| :---| :---|
99- | ** 🪟 Windows** | x64 (64-bit) | Standalone EXE | ** [ Download] ( TechScript_TX.exe ) ** |
100- | ** 🪟 Windows** | x64 (64-bit) | Full Setup Bundle | ** [ Download] ( TechScript_v1.0.5_Windows_Bundle.zip ) ** |
101- | ** 🐧 Linux** | x86_64 | Native Binary | ** [ Download] ( https://github.com/Tcode-Motion/techscript/releases/latest ) ** |
102- | ** 🍎 macOS** | Intel / M1 / M2 | Native Binary | ** [ Download] ( https://github.com/Tcode-Motion/techscript/releases/latest ) ** |
103- | ** 📱 Android** | ARM / x64 | Termux Engine | ** [ Install via Pip] ( README.md#android-termux ) ** |
104- | ** 🎨 Editor** | All | VS Code Extension | ** [ Download] ( techscript-1.0.5.vsix ) ** |
105- * (v1.0.5+ is fully optimized for Termux with automatic Python-engine fallback)*
119+ Functions are defined with ` build ` .
120+ ``` techscript
121+ build greet(name, time = "Morning") {
122+ say f"Good {time}, {name}!"
123+ }
106124
107- ---
125+ greet("Tanmoy") # Good Morning, Tanmoy!
126+ greet("Tanmoy", "Night") # Good Night, Tanmoy!
127+ ```
108128
109- ## 📖 Learn the Language
129+ ---
110130
111- - ** Variables** : ` make count = 10 `
112- - ** Constants** : ` keep PI = 3.14 `
113- - ** Logic** : ` when score > 90 { say "Perfect!" } `
114- - ** Loops** : ` each item in [1, 2, 3] { say item } `
115- - ** Functions** : ` build greet(name) { say f"Hi {name}" } `
116- - ** Web** : ` use web ` , ` make p = WebPage() ` , ` p.run() `
131+ ### 🔴 Level 4: Pro Features (OOP & Error Handling)
132+
133+ #### 1. Models (Classes)
134+ Create blueprints for your objects.
135+ ``` techscript
136+ model Robot {
137+ build init(self, name) {
138+ self.name = name
139+ }
140+ build wave(self) {
141+ say f"{self.name} waves at you! 👋"
142+ }
143+ }
144+
145+ make bot = Robot("R2D2")
146+ bot.wave()
147+ ```
117148
118- Check out the ** [ Full Reference Guide] ( docs/REFERENCE.md ) ** for more.
149+ #### 2. Handling Crashes
150+ Protect your app with ` attempt ` .
151+ ``` techscript
152+ attempt {
153+ make result = 10 / 0
154+ } catch err {
155+ say f"Caught a mistake: {err.message}"
156+ }
157+ ```
119158
120159---
121160
122- ## 🎨 VS Code Extension
161+ ### 💎 Level 5: The Ecosystem (Special Modules)
162+
163+ #### 🎮 use three_d — 3D Graphics
164+ ``` techscript
165+ use three_d
166+ make s = scene.scene()
167+ s.objects.append(scene.box("#e94560", 1.0))
168+ scene.render(s)
123169```
124- code --install-extension techscript-1.0.5.vsix
170+
171+ #### 🌐 use web — Build Sites
172+ ``` techscript
173+ use web
174+ make p = web.page("My App")
175+ p.body.append(web.h1("Welcome!"))
176+ web.open(p)
125177```
126178
127179---
128180
181+ ### 🛠️ Developer Tooling
182+ TechScript comes with a full Rust-native toolchain:
183+ - ** ` tech fmt ` ** : Automatically prettify your code.
184+ - ** ` tech lint ` ** : Find errors before you run.
185+ - ** ` tech build ` ** : Compile to fast bytecode (` .txc ` ).
186+ - ** ` tech test ` ** : Run your built-in unit tests.
187+
188+ ---
189+
190+ ### 📂 Folder Structure
191+ - ` bin/ ` : Executables and installers.
192+ - ` docs/ ` : Full Language Spec & Reference. [ Language Reference] ( docs/REFERENCE.md )
193+ - ` examples/ ` : Ready-to-run sample projects.
194+ - ` assets/ ` : Official icons and logos.
195+
196+ ---
197+
129198<p align =" center " >
130- <img src =" logo.png " alt =" TechScript Dragon " width =" 80 " >
199+ <img src =" assets/ logo.png" alt =" TechScript Dragon " width =" 80 " >
131200 <br >
132- <strong >Made with 🐉 and 🦀 by Tcode-Motion</strong >
201+ <strong >Crafted with 🐉 and 🦀 by Tcode-Motion</strong >
133202</p >
0 commit comments