Holtcode Programming Language
A downloadable tool for Windows, macOS, Linux, and Android
Holtcode v0.5: "Turing Complete"
Holtcode is a lightweight, high-level programming language designed for developers who appreciate syntax with attitude. Holtcode strips away the boring "setters" and "getters" of traditional languages, replacing them with a system of **blame**, **purposes**, and **speaking up**.
**Key Features**:
- Responsibility-Driven State: You don't just "declare" variables in Holtcode; you `blame` them. Supporting `int`, `string`, `float`, and `list` types.
- Modular "Purposes": Functions are defined as a `{purpose}`, emphasizing that every block of code must have a reason to exist.
- Intuitive Control Flow: Features robust logical structures including `{if ... then:}`, `{loop.while}`, and the fixed-iteration `{loop.repeat}`.
- Transparent Execution: Built-in console logging via `{speak-up!}` allows for real-time debugging and user interaction.
**Syntax Cheat Sheet**
| **Print to Console** | `{speak-up!("Hello World")}` |
| **Variable Declaration** | `{blame int(myVar) = (10)}` |
| **While Loop** | `{loop.while [condition]: ... }` |
| **Repeat Loop** | `{loop.repeat (5): ... }` |
| **Functions** | `{purpose name(arg): ... }` |
| **Call Function** | `{run.purpose! name(val)}` |
**Sample Code: The Fibonacci Sequence**
{speak-up!("--- Fibonacci Sequence ---")}
{blame int(a) = (0)}
{blame int(b) = (1)}
{blame int(temp) = (0)}
{loop.repeat (10):
{speak-up!(a)}
{blame int(temp) = (a + b)}
{blame int(a) = (b)}
{blame int(b) = (temp)}
}
{speak-up!("Sequence Complete.")}
**Technical Specifications**
Version: 0.5 (Turing Complete Edition)
Host Environment: HTML5/JavaScript
File Extension: `.htcd`
Safety Features: Infinite loop protection (50,000 iteration cap).
**Why Holtcode?**
Most languages try to be your friend. **Holtcode** is your peer reviewer. It forces you to define the **purpose** of your logic and take **blame** for your data. It’s perfect for educational environments, logic puzzles, or anyone tired of the same old `C`-style syntax.
A quick tip for your v0.6 update:
Your current parser is very sensitive to whitespace (e.g., `+` needs spaces around it: `counter + 1`). You might want to mention that in your documentation, or update your `evalExpr` regex to be a bit more "forgiving" of cramped code.
Download
Development log
- Zetha Programming LanguageJul 13, 2025



Leave a comment
Log in with itch.io to leave a comment.