|
16 | 16 |
|
17 | 17 | ## Key Features |
18 | 18 |
|
19 | | -* **Custom Language: Z--** |
| 19 | +**Custom Language: Z--** |
20 | 20 | * Minimal and expressive syntax with `start`/`end` blocks, `let` declarations, and first-class functions (`fun`). |
21 | 21 | * Built-in control structures (`if`/`else`, `else if`, `while`, `for`, `break`). |
22 | 22 | * Static typing with type inference and support for integers, floats, booleans, and strings. |
|
25 | 25 | * Arrays with index-based read/write, string concatenation. |
26 | 26 |
|
27 | 27 |
|
28 | | -* **From-Scratch Compiler** |
| 28 | +**From-Scratch Compiler** |
29 | 29 | 1. Lexer ➔ 2. Parser ➔ 3. AST ➔ 4. C Code Generator ➔ 5. LLVM IR Generator |
30 | 30 |
|
31 | 31 |
|
|
34 | 34 | * Dead-code elimination and basic AST optimizations. |
35 | 35 |
|
36 | 36 |
|
37 | | -* **Modern Web-Based Editor** |
| 37 | +**Modern Web-Based Editor** |
38 | 38 | * Real-time syntax highlighting for Z-- and popular languages (C++, Java, Python, JavaScript, Go, Rust). |
39 | 39 | * Integrated console with stdin/stdout capture and error reporting. |
40 | 40 | * Auto-save, multi-file support, and keyboard shortcuts. |
41 | 41 |
|
42 | 42 |
|
43 | | -* **Server Backend** |
| 43 | +**Server Backend** |
44 | 44 | * Go-powered API routes: |
45 | 45 | * `/z-lang/compile` ➔ compiles Z-- via the custom backend. |
46 | 46 | * `/judge0/compile` ➔ proxies to Judge0 for multi-language compilation (C++, Java, Python, Go etc.). |
47 | | - |
48 | | - |
49 | 47 | * Dead-code filtering, request queuing, and secure sandboxing. |
50 | 48 |
|
51 | 49 |
|
52 | | -* **Multi-Language Support** via Judge0 |
| 50 | +**Multi-Language Support** via Judge0 |
53 | 51 | * Easily run, test, and share code in C, C++, Java, Python, JavaScript, Go, Rust, and more. |
54 | 52 |
|
55 | 53 |
|
@@ -154,15 +152,15 @@ let octal = 0o52 // octal |
154 | 152 |
|
155 | 153 | ### Operators |
156 | 154 |
|
157 | | -* **Arithmetic:** `+`, `-`, `*`, `/`, `%` |
158 | | -* **Unary:** |
| 155 | +**Arithmetic:** `+`, `-`, `*`, `/`, `%` |
| 156 | +**Unary:** |
159 | 157 | * `++x` (pre-increment) |
160 | 158 | * `x--` (post-decrement) |
161 | 159 | * `-x` (unary minus/negation) |
162 | 160 |
|
163 | 161 |
|
164 | | -* **Comparison:** `==`, `!=`, `<`, `<=`, `>`, `>=` |
165 | | -* **Logical & Bitwise:** `&&`, `||`, `&`, `|`, `^`, `%` |
| 162 | +**Comparison:** `==`, `!=`, `<`, `<=`, `>`, `>=` |
| 163 | +**Logical & Bitwise:** `&&`, `||`, `&`, `|`, `^`, `%` |
166 | 164 |
|
167 | 165 | ### Control Flow |
168 | 166 |
|
@@ -331,4 +329,12 @@ Contributions and feature requests are warmly welcome! |
331 | 329 | 3. **Push** to your fork. |
332 | 330 | 4. Open a **Pull Request**. |
333 | 331 |
|
334 | | ---- |
| 332 | +--- |
| 333 | + |
| 334 | +## ✍️ Author |
| 335 | + |
| 336 | +Built with love & passion by **Anas** 💻 |
| 337 | + |
| 338 | +--- |
| 339 | + |
| 340 | +© 2025 Z Studio Contributors. All rights reserved. |
0 commit comments