tumorscript 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tumorscript-0.1.1/LICENSE +21 -0
- tumorscript-0.1.1/PKG-INFO +434 -0
- tumorscript-0.1.1/README.md +415 -0
- tumorscript-0.1.1/pyproject.toml +34 -0
- tumorscript-0.1.1/setup.cfg +4 -0
- tumorscript-0.1.1/tumorscript/__init__.py +2 -0
- tumorscript-0.1.1/tumorscript/bin/tumorscript.exe +0 -0
- tumorscript-0.1.1/tumorscript/cli.py +64 -0
- tumorscript-0.1.1/tumorscript/main.lua +62 -0
- tumorscript-0.1.1/tumorscript/src/interpreter.lua +526 -0
- tumorscript-0.1.1/tumorscript/src/lexer.lua +351 -0
- tumorscript-0.1.1/tumorscript/src/memory.lua +303 -0
- tumorscript-0.1.1/tumorscript/src/parser.lua +560 -0
- tumorscript-0.1.1/tumorscript.egg-info/PKG-INFO +434 -0
- tumorscript-0.1.1/tumorscript.egg-info/SOURCES.txt +16 -0
- tumorscript-0.1.1/tumorscript.egg-info/dependency_links.txt +1 -0
- tumorscript-0.1.1/tumorscript.egg-info/entry_points.txt +2 -0
- tumorscript-0.1.1/tumorscript.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TumorScript Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tumorscript
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: A biomorphic and entropic esoteric programming language runtime
|
|
5
|
+
Author: TumorScript Contributors
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/yamanist0/Tumor-Script
|
|
8
|
+
Project-URL: Documentation, https://github.com/yamanist0/Tumor-Script/wiki
|
|
9
|
+
Project-URL: Repository, https://github.com/yamanist0/Tumor-Script.git
|
|
10
|
+
Project-URL: Issues, https://github.com/yamanist0/Tumor-Script/issues
|
|
11
|
+
Keywords: tumorscript,esoteric,biomorphic,language,interpreter
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Topic :: Software Development :: Interpreters
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Requires-Python: >=3.8
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
<a id="readme-top"></a>
|
|
21
|
+
|
|
22
|
+
<!-- project shields -->
|
|
23
|
+
[![Contributors][contributors-shield]][contributors-url]
|
|
24
|
+
[![Forks][forks-shield]][forks-url]
|
|
25
|
+
[![Stargazers][stars-shield]][stars-url]
|
|
26
|
+
[![Issues][issues-shield]][issues-url]
|
|
27
|
+
[![MIT License][license-shield]][license-url]
|
|
28
|
+
[![Version][version-shield]][version-url]
|
|
29
|
+
|
|
30
|
+
<!-- project logo -->
|
|
31
|
+
<br />
|
|
32
|
+
<div align="center">
|
|
33
|
+
<a href="https://github.com/yamanist0/Tumor-Script">
|
|
34
|
+
<img src="https://raw.githubusercontent.com/yamanist0/Tumor-Script/main/icon.svg" alt="TumorScript Logo" width="100" height="100">
|
|
35
|
+
</a>
|
|
36
|
+
|
|
37
|
+
<h1 align="center">TumorScript</h1>
|
|
38
|
+
|
|
39
|
+
<p align="center">
|
|
40
|
+
<strong>The World's First Biomorphic, Entropic & Malignant Programming Language</strong>
|
|
41
|
+
<br />
|
|
42
|
+
<em>Where data decays when observed, variables spread contagious infections, and developers race against systemic organ failure.</em>
|
|
43
|
+
<br />
|
|
44
|
+
<br />
|
|
45
|
+
<a href="https://github.com/yamanist0/Tumor-Script/wiki"><strong>Explore the Wiki Documentation »</strong></a>
|
|
46
|
+
<br />
|
|
47
|
+
<br />
|
|
48
|
+
<a href="https://github.com/yamanist0/Tumor-Script/blob/main/examples/hospital_core.tmq">View Clinical Sample</a>
|
|
49
|
+
·
|
|
50
|
+
<a href="https://github.com/yamanist0/Tumor-Script/issues">Report Biological Mutation</a>
|
|
51
|
+
·
|
|
52
|
+
<a href="https://github.com/yamanist0/Tumor-Script/issues">Request Genetic Feature</a>
|
|
53
|
+
</p>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<!-- table of contents -->
|
|
57
|
+
<details>
|
|
58
|
+
<summary>Table of Contents</summary>
|
|
59
|
+
<ol>
|
|
60
|
+
<li>
|
|
61
|
+
<a href="#about-the-project">About The Project</a>
|
|
62
|
+
<ul>
|
|
63
|
+
<li><a href="#the-biological-philosophy">The Biological Philosophy</a></li>
|
|
64
|
+
<li><a href="#core-biomorphic-mechanisms">Core Biomorphic Mechanics</a></li>
|
|
65
|
+
<li><a href="#file-extension-taxonomy">File Extension Taxonomy</a></li>
|
|
66
|
+
<li><a href="#keyword-dictionary">Keyword Dictionary</a></li>
|
|
67
|
+
<li><a href="#built-with">Built With</a></li>
|
|
68
|
+
</ul>
|
|
69
|
+
</li>
|
|
70
|
+
<li>
|
|
71
|
+
<a href="#getting-started">Getting Started</a>
|
|
72
|
+
<ul>
|
|
73
|
+
<li><a href="#prerequisites">Prerequisites</a></li>
|
|
74
|
+
<li><a href="#installation">Installation</a></li>
|
|
75
|
+
<li><a href="#building-from-source">Building from Source</a></li>
|
|
76
|
+
<li><a href="#windows-file-association">Windows File Association (.tmq Double-Click)</a></li>
|
|
77
|
+
</ul>
|
|
78
|
+
</li>
|
|
79
|
+
<li>
|
|
80
|
+
<a href="#usage">Usage</a>
|
|
81
|
+
<ul>
|
|
82
|
+
<li><a href="#clinical-case-study-hospital_coretmq">Clinical Case Study</a></li>
|
|
83
|
+
<li><a href="#runtime-mutation-trace">Runtime Mutation Trace</a></li>
|
|
84
|
+
<li><a href="#oncology-survival-guide">Oncology Survival Guide</a></li>
|
|
85
|
+
</ul>
|
|
86
|
+
</li>
|
|
87
|
+
<li><a href="#roadmap">Roadmap</a></li>
|
|
88
|
+
<li><a href="#contributing">Contributing</a></li>
|
|
89
|
+
<li><a href="#license">License</a></li>
|
|
90
|
+
<li><a href="#contact">Contact</a></li>
|
|
91
|
+
<li><a href="#acknowledgments">Acknowledgments</a></li>
|
|
92
|
+
</ol>
|
|
93
|
+
</details>
|
|
94
|
+
|
|
95
|
+
<!-- about the project -->
|
|
96
|
+
## About The Project
|
|
97
|
+
|
|
98
|
+
[![TumorScript Banner][product-screenshot]](https://github.com/yamanist0/Tumor-Script/wiki)
|
|
99
|
+
|
|
100
|
+
Modern computer science spent six decades obsessed with "determinism", "memory safety", and "predictable side effects". **What a sterile, boring way to compute.**
|
|
101
|
+
|
|
102
|
+
**TumorScript** rejects this artificial stability. In nature, living tissue is messy, mutations are inevitable, and observation alters the state of matter. TumorScript bridges biological cancer dynamics and quantum observer physics into software architecture:
|
|
103
|
+
|
|
104
|
+
* **Observation causes corruption:** Reading a variable actively degrades its value. Printing a variable five times might turn your integer into a floating-point tumor.
|
|
105
|
+
* **Metastasis is contagious:** Malignant variables pass infections to innocent numbers across arithmetic equations.
|
|
106
|
+
* **Chemotherapy is a gamble:** You can purge mutations with `chemo`, but there is an intrinsic **15% chance** of destroying the variable permanently.
|
|
107
|
+
* **Organ failure is terminal:** If more than **50%** of your heap becomes malignant, the virtual machine panics with `FATAL: ORGAN_FAILURE_EXCEPTION` and kills the process.
|
|
108
|
+
|
|
109
|
+
Writing software in TumorScript is no longer about writing logic. It is an oncological race against time to extract answers before your program dies on the operating table.
|
|
110
|
+
|
|
111
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
112
|
+
|
|
113
|
+
### The Biological Philosophy
|
|
114
|
+
|
|
115
|
+
Traditional programming treats memory as a warehouse of immutable storage boxes. TumorScript treats memory as an immunocompromised petri dish:
|
|
116
|
+
|
|
117
|
+
$$V_{\text{mutated}} = V_{\text{original}} \times (1 \pm \delta)$$
|
|
118
|
+
|
|
119
|
+
Every time a CPU instruction observes a piece of DNA data, $\delta$ climbs from an initial **0.5%** up to a terminal **5.0%** per read. The more you watch your code, the worse it behaves.
|
|
120
|
+
|
|
121
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
122
|
+
|
|
123
|
+
### Core Biomorphic Mechanics
|
|
124
|
+
|
|
125
|
+
* **Entropic Memory (`dna`):** Every read triggers mutation. Numbers drift mathematically, strings suffer random ASCII codepoint codon shifts, and booleans flip under extreme stress.
|
|
126
|
+
* **Immune Constants (`rna`):** Static genetic codes that are 100% resistant to entropic decay. Reassigning them is treated as an `IMMUNE_VIOLATION`.
|
|
127
|
+
* **Metastasis (`y = bad_x + 10`):** Performing calculations with an infected variable carries a **30% probability** of immediately spreading malignancy to the target.
|
|
128
|
+
* **Quarantine Chamber (`quarantine { ... }`):** A sterile cleanroom where mutation is completely frozen. **Curly braces `{}` are strictly illegal everywhere else in the language.** To prevent developers from cheating by wrapping their whole app in quarantine, the compiler enforces a **strict 20% total line budget**.
|
|
129
|
+
* **Chemotherapy (`chemo x`):** Resets a corrupt variable back to its initial healthy state, with a terrifying **15% lethal toxicity chance** of deleting the variable into null oblivion.
|
|
130
|
+
* **Apoptosis (`apoptosis value`):** Programmed cell death. Safely terminates a cellular function and ejects its payload before internal mutations spread.
|
|
131
|
+
|
|
132
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
133
|
+
|
|
134
|
+
### File Extension Taxonomy
|
|
135
|
+
|
|
136
|
+
TumorScript classifies source code into containment biosafety levels:
|
|
137
|
+
|
|
138
|
+
| Extension | Name | Biosafety Level | Purpose |
|
|
139
|
+
|---|---|---|---|
|
|
140
|
+
| `.tmq` | Tumor Quarantine | Level 4 (Primary) | Main executable files containing quarantine chambers and program logic. |
|
|
141
|
+
| `.tmr` | Tumor Source Module | Level 3 (Intermediate) | Importable cellular modules and secondary logic units. |
|
|
142
|
+
| `.tmh` | Tumor Header | Level 1 (Sterile) | Mutation-proof header files containing exclusively immutable `rna` constants. |
|
|
143
|
+
| `.tmz` | Tumor Zone | Level 5 (Extreme Hazard) | High-risk experimental zones where mutation and metastasis rates are tenfold. |
|
|
144
|
+
| `.tmb` | Tumor Bytecode | Machine Artifact | Compiled intermediate binary bytecode for the virtual machine. |
|
|
145
|
+
|
|
146
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
147
|
+
|
|
148
|
+
### Keyword Dictionary
|
|
149
|
+
|
|
150
|
+
| Standard Syntax | TumorScript Keyword | Biological Role |
|
|
151
|
+
|---|---|---|
|
|
152
|
+
| `var` / `let` | `dna` | Mutable variable subject to decay on every read. |
|
|
153
|
+
| `const` | `rna` | Mutation-immune constant. |
|
|
154
|
+
| `class` / `struct` | `cell` | Living cellular blueprint containing state and traits. |
|
|
155
|
+
| `function` / `def` | `gene` | Cellular functional logic; degrades if fed mutated arguments. |
|
|
156
|
+
| `new` / `clone` | `mitosis` | Duplicates and spawns an independent living cell instance. |
|
|
157
|
+
| `return` | `apoptosis` | Programmed cell death; cleans up scope and yields data. |
|
|
158
|
+
| `import` | `metastasis` | Cross-module dissemination of code and functions. |
|
|
159
|
+
| `try` / `catch` | `quarantine` / `chemo` | Isolation and toxic intervention strategies. |
|
|
160
|
+
|
|
161
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
162
|
+
|
|
163
|
+
### Built With
|
|
164
|
+
|
|
165
|
+
The TumorScript reference compiler and runtime are engineered with zero-compromise native performance:
|
|
166
|
+
|
|
167
|
+
* [![Rust][Rust-badge]][Rust-url]
|
|
168
|
+
* [![Lua][Lua-badge]][Lua-url]
|
|
169
|
+
* [![Python][Python-badge]][Python-url]
|
|
170
|
+
* [![Node.js][Node-badge]][Node-url]
|
|
171
|
+
* [![Windows][Windows-badge]][Windows-url]
|
|
172
|
+
|
|
173
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
174
|
+
|
|
175
|
+
<!-- getting started -->
|
|
176
|
+
## Getting Started
|
|
177
|
+
|
|
178
|
+
You can run TumorScript immediately through your favorite package manager or compile it from source as a standalone native binary with zero runtime dependencies.
|
|
179
|
+
|
|
180
|
+
### Prerequisites
|
|
181
|
+
|
|
182
|
+
* To install pre-built packages: **Node.js** (npm) or **Python 3.8+** (pip).
|
|
183
|
+
* To compile from source: **Rust** (cargo 1.70+) and optional `luac`.
|
|
184
|
+
|
|
185
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
186
|
+
|
|
187
|
+
### Installation
|
|
188
|
+
|
|
189
|
+
#### Global Installation via npm (Node.js)
|
|
190
|
+
```sh
|
|
191
|
+
npm install -g tumorscript
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
#### Global Installation via pip (Python)
|
|
195
|
+
```sh
|
|
196
|
+
pip install tumorscript
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Once installed, the `tumorscript` command is available system-wide:
|
|
200
|
+
```sh
|
|
201
|
+
tumorscript examples/hospital_core.tmq
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
205
|
+
|
|
206
|
+
### Building from Source
|
|
207
|
+
|
|
208
|
+
TumorScript compiles into an ultra-fast, single-file native executable (`tumorscript.exe` on Windows or `tumorscript` on Unix) that embeds the full Lua 5.4 engine, the application icon, and the TumorScript standard library into a compact ~547 KB binary.
|
|
209
|
+
|
|
210
|
+
#### On Windows:
|
|
211
|
+
```cmd
|
|
212
|
+
build.bat
|
|
213
|
+
```
|
|
214
|
+
*The compiled binary will be placed at `bin\tumorscript.exe` with `icon.ico` baked into the PE resource table.*
|
|
215
|
+
|
|
216
|
+
#### On Linux / macOS:
|
|
217
|
+
```sh
|
|
218
|
+
chmod +x build.sh
|
|
219
|
+
./build.sh
|
|
220
|
+
```
|
|
221
|
+
*The compiled binary will be placed at `bin/tumorscript`.*
|
|
222
|
+
|
|
223
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
224
|
+
|
|
225
|
+
### Windows File Association
|
|
226
|
+
|
|
227
|
+
TumorScript can register itself as the default handler for all `.tmq` files across Windows:
|
|
228
|
+
|
|
229
|
+
* All `.tmq` files display the official **TumorScript Application Icon**.
|
|
230
|
+
* **Double-clicking** any `.tmq` file opens a dedicated CMD terminal, runs the script through the biomorphic engine, and keeps the terminal open with `pause` so you can examine the mutation outputs before closing.
|
|
231
|
+
* Requires **no administrator rights** (scoped safely to `HKCU`).
|
|
232
|
+
|
|
233
|
+
#### To Register:
|
|
234
|
+
Double-click `register_file_association.bat` or run:
|
|
235
|
+
```cmd
|
|
236
|
+
tumorscript --register
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
#### To Unregister:
|
|
240
|
+
Double-click `unregister_file_association.bat` or run:
|
|
241
|
+
```cmd
|
|
242
|
+
tumorscript --unregister
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
246
|
+
|
|
247
|
+
<!-- usage examples -->
|
|
248
|
+
## Usage
|
|
249
|
+
|
|
250
|
+
### Clinical Case Study: `hospital_core.tmq`
|
|
251
|
+
|
|
252
|
+
Below is the canonical TumorScript program simulating patient vital signs under entropic stress:
|
|
253
|
+
|
|
254
|
+
```python
|
|
255
|
+
# file: hospital_core.tmq
|
|
256
|
+
metastasis System.IO
|
|
257
|
+
|
|
258
|
+
cell PatientRecord:
|
|
259
|
+
dna age = 30
|
|
260
|
+
dna heart_rate = 75
|
|
261
|
+
rna blood_type = "AB+"
|
|
262
|
+
|
|
263
|
+
gene calculate_dosage(patient):
|
|
264
|
+
# observation causes patient.age to drift slightly
|
|
265
|
+
dna base_dosage = patient.age * 1.5
|
|
266
|
+
|
|
267
|
+
if patient.age > 40:
|
|
268
|
+
print("Critical Age Threshold Exceeded:", patient.age)
|
|
269
|
+
|
|
270
|
+
apoptosis base_dosage
|
|
271
|
+
|
|
272
|
+
gene main():
|
|
273
|
+
dna cycle = 0
|
|
274
|
+
dna p1 = mitosis PatientRecord()
|
|
275
|
+
|
|
276
|
+
print("--- CYCLE START (Mutation Phase) ---")
|
|
277
|
+
|
|
278
|
+
while cycle < 5:
|
|
279
|
+
cycle = cycle + 1
|
|
280
|
+
|
|
281
|
+
# pulse data corrupts on each read
|
|
282
|
+
print("Pulse Data (Read ", cycle, "): ", p1.heart_rate)
|
|
283
|
+
|
|
284
|
+
# medical intervention if cancer spikes
|
|
285
|
+
if p1.heart_rate > 78:
|
|
286
|
+
print("Pulse data corrupted, applying chemo...")
|
|
287
|
+
chemo p1.heart_rate
|
|
288
|
+
print("Post-Treatment Pulse:", p1.heart_rate)
|
|
289
|
+
|
|
290
|
+
print("\n--- STERILE QUARANTINE ZONE ---")
|
|
291
|
+
|
|
292
|
+
# sterile cleanroom: values remain completely frozen
|
|
293
|
+
quarantine {
|
|
294
|
+
dna safe_age = p1.age
|
|
295
|
+
dna exact_calc = safe_age * 10
|
|
296
|
+
print("[STERILE] Frozen Age Data:", safe_age)
|
|
297
|
+
print("[STERILE] Precise Calculation:", exact_calc)
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
# back to entropic reality
|
|
301
|
+
dna final_dosage = calculate_dosage(p1)
|
|
302
|
+
print("Final Dosage Output:", final_dosage)
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
306
|
+
|
|
307
|
+
### Runtime Mutation Trace
|
|
308
|
+
|
|
309
|
+
Executing `tumorscript examples/hospital_core.tmq` produces live biomorphic entropy:
|
|
310
|
+
|
|
311
|
+
```
|
|
312
|
+
--- CYCLE START (Mutation Phase) ---
|
|
313
|
+
Pulse Data (Read 0.993223): 74.600719
|
|
314
|
+
Pulse Data (Read 1.999967): 73.544579
|
|
315
|
+
Pulse Data (Read 2.959608): 74.117909
|
|
316
|
+
Pulse Data (Read 4.061606): 77.237377
|
|
317
|
+
Pulse Data (Read 4.787132): 76.586058
|
|
318
|
+
Pulse data corrupted, applying chemo...
|
|
319
|
+
Post-Treatment Pulse: 75.000000
|
|
320
|
+
Pulse Data (Read 6.283643): 74.939735
|
|
321
|
+
|
|
322
|
+
--- STERILE QUARANTINE ZONE ---
|
|
323
|
+
[STERILE] Frozen Age Data: 30
|
|
324
|
+
[STERILE] Precise Calculation: 300
|
|
325
|
+
Final Dosage Output: 44.864949
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
Notice that:
|
|
329
|
+
1. `cycle` drifted from an integer into fractional values (`0.993`, `1.999`, `4.787`), occasionally repeating iterations!
|
|
330
|
+
2. `p1.heart_rate` climbed until triggering chemo, which reset it to baseline!
|
|
331
|
+
3. Inside `quarantine { ... }`, the calculations were 100% frozen and exact!
|
|
332
|
+
|
|
333
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
334
|
+
|
|
335
|
+
### Oncology Survival Guide
|
|
336
|
+
|
|
337
|
+
* **Defensive RNA Anchoring:** Use `rna` for iteration limits, step offsets, and critical thresholds. `rna` cannot mutate, preventing infinite loops caused by decaying integers.
|
|
338
|
+
* **Quarantine Budgeting:** You only get **20% of your source code lines** in `{}` quarantine. Spend it on financial calculations, cryptography, or critical arithmetic.
|
|
339
|
+
* **Chemotherapy Contingency:** Never apply `chemo` to your only pointer to a data structure without a backup clone (`mitosis`), or risk fatal `CHEMO_LETHAL` null pointer vaporization.
|
|
340
|
+
|
|
341
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
342
|
+
|
|
343
|
+
<!-- roadmap -->
|
|
344
|
+
## Roadmap
|
|
345
|
+
|
|
346
|
+
- [x] Indentation-based lexical analyzer with virtual INDENT / DEDENT tokens
|
|
347
|
+
- [x] Strict quarantine `{}` exclusivity and 20% source limit validation
|
|
348
|
+
- [x] Read-based entropic memory engine with escalating delta curves
|
|
349
|
+
- [x] Object-oriented cellular mitosis and gene definition systems
|
|
350
|
+
- [x] Contagious binary metastasizing between healthy and malignant variables
|
|
351
|
+
- [x] Chemotherapy intervention with 15% lethal toxicity chance
|
|
352
|
+
- [x] Systemic organ failure detection (`ORGAN_FAILURE_EXCEPTION`)
|
|
353
|
+
- [x] Standalone native compiler embedding Lua 5.4 with `icon.ico` resource
|
|
354
|
+
- [x] Windows Registry `.tmq` double-click file association in CMD
|
|
355
|
+
- [x] npm (`npm install -g tumorscript`) and pip (`pip install tumorscript`) distributions
|
|
356
|
+
- [x] Comprehensive GitHub Wiki documentation suite
|
|
357
|
+
- [ ] Radiation Therapy (`radiation`): Purges 90% of memory corruption, but mutates all other variables by 30%
|
|
358
|
+
- [ ] Network Metastasis: Spreading cancer across remote machines via raw TCP/IP sockets
|
|
359
|
+
- [ ] CRISPR Gene Editing: Runtime AST self-modifying code rewrite engine
|
|
360
|
+
- [ ] Terminal flatline audio sound effects upon organ failure
|
|
361
|
+
|
|
362
|
+
See the [open issues](https://github.com/yamanist0/Tumor-Script/issues) for a full list of proposed features and clinical bug reports.
|
|
363
|
+
|
|
364
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
365
|
+
|
|
366
|
+
<!-- contributing -->
|
|
367
|
+
## Contributing
|
|
368
|
+
|
|
369
|
+
Contributions to TumorScript are **greatly appreciated**! Whether you want to fix a memory leak or introduce a more aggressive form of cellular corruption, the medical board welcomes your pull requests.
|
|
370
|
+
|
|
371
|
+
### Biological Safety Guidelines:
|
|
372
|
+
1. Fork the Project
|
|
373
|
+
2. Create your Malignant Branch (`git checkout -b feature/BenignMutation`)
|
|
374
|
+
3. Commit your Genetic Modifications (`git commit -m 'feat: add oncological radiation therapy'`)
|
|
375
|
+
4. Push to the Petri Dish (`git push origin feature/BenignMutation`)
|
|
376
|
+
5. Open a Clinical Pull Request
|
|
377
|
+
|
|
378
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
379
|
+
|
|
380
|
+
<!-- license -->
|
|
381
|
+
## License
|
|
382
|
+
|
|
383
|
+
Distributed under the MIT License. See `LICENSE` for more information.
|
|
384
|
+
|
|
385
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
386
|
+
|
|
387
|
+
<!-- contact -->
|
|
388
|
+
## Contact
|
|
389
|
+
|
|
390
|
+
TumorScript Project - [@yamanist0](https://github.com/yamanist0/Tumor-Script)
|
|
391
|
+
|
|
392
|
+
Project Link: [https://github.com/yamanist0/Tumor-Script](https://github.com/yamanist0/Tumor-Script)
|
|
393
|
+
|
|
394
|
+
Wiki Documentation: [https://github.com/yamanist0/Tumor-Script/wiki](https://github.com/yamanist0/Tumor-Script/wiki)
|
|
395
|
+
|
|
396
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
397
|
+
|
|
398
|
+
<!-- acknowledgments -->
|
|
399
|
+
## Acknowledgments
|
|
400
|
+
|
|
401
|
+
* [Erwin Schrödinger](https://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat) - For proving that looking at things ruins them.
|
|
402
|
+
* [Werner Heisenberg](https://en.wikipedia.org/wiki/Uncertainty_principle) - For providing our runtime's official excuse for floating-point inaccuracies.
|
|
403
|
+
* [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) - For inspiring cellular automation in software.
|
|
404
|
+
* [Brainfuck & Malbolge](https://esolangs.org/) - For demonstrating that programming languages do not need to be ergonomic to be art.
|
|
405
|
+
* [The Lua Team](https://www.lua.org/) - For creating the world's most embeddable, resilient scripting language.
|
|
406
|
+
* [The Rust Team](https://www.rust-lang.org/) - For letting us package insanity into an airtight 500 KB binary.
|
|
407
|
+
* [Best-README-Template](https://github.com/othneildrew/Best-README-Template) - For the stunning markdown architecture.
|
|
408
|
+
|
|
409
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
|
410
|
+
|
|
411
|
+
<!-- markdown links and images -->
|
|
412
|
+
[contributors-shield]: https://img.shields.io/github/contributors/yamanist0/Tumor-Script.svg?style=for-the-badge
|
|
413
|
+
[contributors-url]: https://github.com/yamanist0/Tumor-Script/graphs/contributors
|
|
414
|
+
[forks-shield]: https://img.shields.io/github/forks/yamanist0/Tumor-Script.svg?style=for-the-badge
|
|
415
|
+
[forks-url]: https://github.com/yamanist0/Tumor-Script/network/members
|
|
416
|
+
[stars-shield]: https://img.shields.io/github/stars/yamanist0/Tumor-Script.svg?style=for-the-badge
|
|
417
|
+
[stars-url]: https://github.com/yamanist0/Tumor-Script/stargazers
|
|
418
|
+
[issues-shield]: https://img.shields.io/github/issues/yamanist0/Tumor-Script.svg?style=for-the-badge
|
|
419
|
+
[issues-url]: https://github.com/yamanist0/Tumor-Script/issues
|
|
420
|
+
[license-shield]: https://img.shields.io/badge/license-MIT-green.svg?style=for-the-badge
|
|
421
|
+
[license-url]: https://github.com/yamanist0/Tumor-Script/blob/main/LICENSE
|
|
422
|
+
[version-shield]: https://img.shields.io/badge/version-0.1.1-rose.svg?style=for-the-badge
|
|
423
|
+
[version-url]: https://github.com/yamanist0/Tumor-Script/releases
|
|
424
|
+
[product-screenshot]: https://raw.githubusercontent.com/yamanist0/Tumor-Script/main/icon.svg
|
|
425
|
+
[Rust-badge]: https://img.shields.io/badge/Rust-000000?style=for-the-badge&logo=rust&logoColor=white
|
|
426
|
+
[Rust-url]: https://www.rust-lang.org/
|
|
427
|
+
[Lua-badge]: https://img.shields.io/badge/Lua_5.4-2C2D72?style=for-the-badge&logo=lua&logoColor=white
|
|
428
|
+
[Lua-url]: https://www.lua.org/
|
|
429
|
+
[Python-badge]: https://img.shields.io/badge/Python_3.8+-3776AB?style=for-the-badge&logo=python&logoColor=white
|
|
430
|
+
[Python-url]: https://www.python.org/
|
|
431
|
+
[Node-badge]: https://img.shields.io/badge/Node.js_CLI-339933?style=for-the-badge&logo=nodedotjs&logoColor=white
|
|
432
|
+
[Node-url]: https://nodejs.org/
|
|
433
|
+
[Windows-badge]: https://img.shields.io/badge/Windows_PE_Binary-0078D6?style=for-the-badge&logo=windows&logoColor=white
|
|
434
|
+
[Windows-url]: https://www.microsoft.com/windows
|