fazer-lang 2.1.1 → 2.1.2

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.
Files changed (2) hide show
  1. package/README.md +42 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -187,7 +187,48 @@ This capability makes Fazer the ideal choice for deploying secure, self-containe
187
187
 
188
188
  ---
189
189
 
190
- ## 7. Copyright & Legal
190
+ ## 8. Fazer vs The World: A Technical Comparison
191
+
192
+ Why choose Fazer when you have JavaScript, Python, or Go? Because Fazer is designed for a specific purpose: **High-level Orchestration with Low-level Power**.
193
+
194
+ ### 8.1. Fazer vs JavaScript / Node.js
195
+
196
+ * **The Problem with JS**: "Callback Hell" and "Promise Chaining". JavaScript forces you to write code "inside-out" or manage endless `.then()` chains.
197
+ * *JS*: `process(parse(read(file)))`
198
+ * **The Fazer Solution**: Linear data flow. The pipe operator (`→>`) is not just sugar; it's the core of the language.
199
+ * *Fazer*: `file →> read() →> parse() →> process()`
200
+ * **Ecosystem**: To get encryption, HTTP server, and file system operations in Node.js, you often need to install external packages or write boilerplate code using `fs`, `http`, and `crypto` modules. Fazer includes these batteries **natively**. `encText` and `server` are there from line 1.
201
+
202
+ ### 8.2. Fazer vs Python
203
+
204
+ * **Distribution**: Sharing a Python script is painful. The user needs Python installed, then `pip install -r requirements.txt`, and version conflicts are common.
205
+ * **Fazer's Edge**: Fazer compiles to a **single, standalone binary** (EXE for Windows, Bin for Linux). You give the file to the user, they double-click, and it runs. No installation, no dependencies, no friction.
206
+ * **Performance**: While Python interprets line-by-line, Fazer's lightweight runtime is optimized for rapid I/O and cryptographic operations, making it feel snappier for CLI tools.
207
+
208
+ ### 8.3. Fazer vs Bash / Shell
209
+
210
+ * **Cross-Platform Nightmare**: A Bash script written for Linux often fails on Windows (PowerShell/CMD) or macOS due to syntax differences (`ls` vs `dir`, `/` vs `\`).
211
+ * **Fazer's Universality**: Fazer abstracts the operating system. `ls()`, `rm()`, and `exec()` work identically on Windows, Linux, and macOS. Write once, control any system.
212
+ * **Safety**: Bash has no real error handling or types. A wrong variable expansion can delete your hard drive (`rm -rf /$VAR`). Fazer provides a structured, safe environment with scoped variables and error handling.
213
+
214
+ ### 8.4. Fazer vs C/C++
215
+
216
+ * **Development Speed**: Writing a secure HTTP server with AES encryption in C++ takes days and hundreds of lines of code. In Fazer, it takes **5 lines**.
217
+ * **Memory Safety**: No manual memory management, no buffer overflows, no segmentation faults. Fazer handles the dirty work so you can focus on the logic.
218
+
219
+ ### Summary Table
220
+
221
+ | Feature | Fazer | JavaScript | Python | Bash |
222
+ | :--- | :---: | :---: | :---: | :---: |
223
+ | **Pipeline Logic** | ✅ Native (`→>`) | ❌ (Plugins needed) | ❌ | ✅ (Pipes `|`) |
224
+ | **Distribution** | ✅ Single Binary | ❌ (Requires Runtime) | ❌ (Complex) | ✅ (Source only) |
225
+ | **Cryptography** | ✅ Built-in AES-256 | ⚠️ Module required | ⚠️ Module required | ❌ External tools |
226
+ | **Cross-Platform** | ✅ 100% | ✅ | ✅ | ❌ |
227
+ | **Setup Time** | ⚡ Instant | 🐢 Slow (npm install) | 🐢 Slow (pip install) | ⚡ Instant |
228
+
229
+ ---
230
+
231
+ ## 9. Copyright & Legal
191
232
 
192
233
  **Fazer Language** is a proprietary technology developed by **L'EMPRISE**.
193
234
  Unauthorized reproduction of the core interpreter logic without attribution is prohibited.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fazer-lang",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Fazer — A unique, high-performance scripting language with powerful pipe operators (→>) and batteries-included stdlib (crypto, http, fs, json).",
5
5
  "main": "fazer.js",
6
6
  "bin": {