Repository navigation
Releases
ScarScript v1.0.3 — Loop Control, Structs, Option/Result & Modules
ScarScript v1.0.3 focuses on core stabilization, bug fixes, structured data modeling, safe error/null handling, loop flow control, and multi-file modules while preserving clean syntax and native Go performance. Expression-level match is scheduled for an upcoming release.
What's New & Fixed in v1.0.3
- Bug Fixes & Stability: Resolved critical compiler, lexer, string interpolation, and runtime edge cases to make core execution reliable (
matchdeferred to a future release). - Loop Control Flow: Added
continue,break, andstopwith loop-depth validation and clear compile-time diagnostics. - User-Defined
structs: Addedstructdeclarations, literal instantiation, field access, and field mutation onmutbindings. Option<T>&Result<T, E>: AddedSome(value),None,Ok(value), andErr(error)along with.isSome(),.isNone(),.isOk(),.isErr(),.unwrap(),.unwrapErr(), and.unwrapOr(...).- Module System (
import/export): Added relative.scarmodule imports,exportdeclarations, and circular dependency detection.
Quality & Verification
- Verified with
go build,go vet,go test, andgofmt -l .. - Updated CLI version string (
1.0.3), build scripts,CHANGELOG.md, andREADME.md.
Full Changelog: v1.0.2...v1.0.3
v1.0.2 - Language Server Protocol (LSP) & IDE Integration Support
Add --lsp mode to support VS Code Extension, live diagnostics, and IDE language server communication.
v1.0.1 - Patch Release
v1.0.1 - Patch: Global constants/immutable vals accessible in functions
Fixed:
- Global const and val (literal init) now visible inside functions via parent-scope fallback
- mut variables correctly rejected in functions (compile-time error)
- func removed from reserved keywords list in documentation
- Codegen emits package-level vars for const/val with literal initializers
All tests pass: go test, go vet, gofmt clean
ScarScript v1.0.0 - Initial Official Release
⚡ ScarScript v1.0.0 — Initial Release
Pakistan's first high-performance compiled programming language combining Express-like syntax with native execution speed.
📦 Platform Binaries
Download the appropriate executable binary for your system architecture:
| Platform | Architecture | Binary File |
|---|---|---|
| 🪟 Windows | x86_64 (64-bit) | scar-windows-amd64.exe |
| 🐧 Linux | x86_64 (64-bit) | scar-linux-amd64 |
| 🍎 macOS | Intel (64-bit) | scar-darwin-amd64 |
| 🍏 macOS | Apple Silicon (M1/M2/M3/M4) | scar-darwin-arm64 |
🛡️ SHA-256 Verification
To verify the integrity of downloaded binaries, compare their SHA-256 hash using checksums.txt:
# Linux / macOS
sha256sum -c checksums.txt
# Windows (PowerShell)
Get-FileHash scar-windows-amd64.exe -Algorithm SHA256