Demo applications and showcase programs written in FREAK.
| App | Description | Lines |
|---|---|---|
| calculator | GUI calculator with black+purple theme, keyboard input, expression history | ~340 |
| rpg-console | Console RPG with character stats and combat | ~90 |
| anime-battle | Anime-themed battle simulator | ~60 |
| ui-showcase | UI widget showcase and window tests | ~2500 |
| Demo | Description |
|---|---|
| demos/http | HTTP/1.1 client demo (GET/POST over TCP) |
| demos/json | JSON parser/serializer demos |
| demos/algorithm | Sort, search, and algorithm demos |
| demos/std | Standard library feature demos |
| demos/llvm | LLVM backend comprehensive test |
These require the FREAK compiler. Install it from Freak-lang.
# Using the self-hosting compiler (recommended)
freakc build calculator/calculator.fk
# Using the Python bootstrap compiler
python -m freakc build calculator/calculator.fkThe calculator requires the UI runtime and must be linked with platform libraries:
freakc build calculator/calculator.fk --uiThe calculator was the first app compiled entirely through the self-hosting FREAK compiler — zero Python in the pipeline:
calculator.fk -> freakc_v2.exe (FREAK compiler written in FREAK) -> C -> clang -> native binary