Repository navigation
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