Skip to content

Releases

ScarScript v1.0.3 — Loop Control, Structs, Option/Result & Modules

Choose a tag to compare

@zawiyarawan zawiyarawan released this 23 Nov 05:54

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 (match deferred to a future release).
  • Loop Control Flow: Added continue, break, and stop with loop-depth validation and clear compile-time diagnostics.
  • User-Defined structs: Added struct declarations, literal instantiation, field access, and field mutation on mut bindings.
  • Option<T> & Result<T, E>: Added Some(value), None, Ok(value), and Err(error) along with .isSome(), .isNone(), .isOk(), .isErr(), .unwrap(), .unwrapErr(), and .unwrapOr(...).
  • Module System (import / export): Added relative .scar module imports, export declarations, and circular dependency detection.

Quality & Verification

  • Verified with go build, go vet, go test, and gofmt -l ..
  • Updated CLI version string (1.0.3), build scripts, CHANGELOG.md, and README.md.

Full Changelog: v1.0.2...v1.0.3

v1.0.2 - Language Server Protocol (LSP) & IDE Integration Support

Choose a tag to compare

@zawiyarawan zawiyarawan released this 30 Oct 15:21

Add --lsp mode to support VS Code Extension, live diagnostics, and IDE language server communication.

v1.0.1 - Patch Release

Choose a tag to compare

@MrKashifAwan MrKashifAwan released this 22 Oct 10:24

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

Choose a tag to compare

@MrKashifAwan MrKashifAwan released this 14 Oct 10:37

⚡ 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