Created by: Seigh-sword
Repository: https://github.com/Seigh-sword/Prizm
License: Prizm License (Free Forever)
Prizm is a modern, beginner-friendly compiled programming language designed to be:
#| Header | Purpose | Key Functions |
|---|---|---|
| file | File operations | create, delete, move, read, modify |
| math | Mathematics | add, subtract, multiply, divide, random, power |
| control | Flow control | if, else, loop, repeat, break |
| var | Variables | declare, assign, access |
| function | Functions | define, call, return |
| http | Web requests | get, post, put, delete, header |
| ui | GUI windows | window, button, text, input, panel, event |
| root | System access | exec, system, memory, process, interrupt |
| data | JSON/data | stringify, parse, validate, merge, encode |
| time | Date & time | now, sleep, format, parse, timer |
output() - Print with newlineprint() - Print without newline.pzm source → Lexer → Parser → Code Generator → Binary Executable
↓
No dependencies needed to run!
/workspaces/needs-a-name/
├── README.md # Main documentation
├── QUICKSTART.md # Quick start guide
├── CONTRIBUTING.md # Contribution guidelines
├── DEPLOYMENT.md # Deployment & distribution
├── LICENSE # MIT License
├── version.json # Version tracking
├── install.sh # Linux/macOS installer
├── install.bat # Windows installer
├── init.sh # Linux/macOS project initializer
├── init.bat # Windows project initializer
├── build.sh # Linux/macOS build script
├── build.bat # Windows build script
├── source/
│ └── example.pzm # Example program (multi-header)
├── dist/ # Pre-compiled binaries
│ ├── linux-x64/
│ │ └── prizm
│ ├── macos-x64/
│ │ └── prizm
│ ├── macos-arm64/
│ │ └── prizm
│ └── windows-x64/
│ └── prizm.exe
├── bin/ # Build output
│ ├── release/ # Release binaries
│ ├── debug/ # Debug binaries
│ └── dll/ # DLL libraries
├── assets/
│ └── logo.svg # Prizm logo
└── compiler/
├── Cargo.toml # Rust build config
├── src/
│ ├── main.rs # CLI executable
│ ├── lib.rs # DLL library
│ ├── cli.rs # Command utilities
│ ├── attributes.rs # Headers & ID system
│ ├── lexer.rs # Tokenizer
│ ├── parser.rs # Parser (WIP)
│ └── stdlib.rs # Standard library
└── build.rs # Build script
Linux & macOS:
curl -fsSL https://raw.githubusercontent.com/Seigh-sword/Prizm/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/Seigh-sword/Prizm/main/install.bat | iex
/dist/[your-platform]/prizm --version to verify./init.sh myapp
cd myapp
prizm run
output("Hello, Prizm World!"),
var name: string = "Developer",
var age: int = 25,
output("Name: " + name),
output("Age: " + age),
var result: int = math.add(10, 5),
output("10 + 5 = " + result),
prizm run [file.pzm] # Run a program
prizm pretty [file.pzm] # Format code
prizm lint [file.pzm] # Check for errors
prizm --version # Show version
prizm --help # Show help
Prizm is open source and welcomes contributions!
See CONTRIBUTING.md for details.
MIT License - See LICENSE for details
Prizm aims to be:
Prizm: Write it once, deploy it everywhere.
Latest Update: January 2024 Current Version: 0.1.0 (Early Development)