The language that feels familiar · Pakistan’s first high-performance compiled languageWrite simply.
Write simply.
Compile to Go.
ScarScript is a statically typed programming language with Express-like syntax. Write readable programs, catch type errors at compile time, and build native binaries with Go.
A small language with a native toolchain
01
Readable by design
Braces, familiar control flow, and concise declarations make programs easy to scan.
02
Checked before running
Inferred types and compile-time checks catch many mistakes before execution.
03
Built on Go
ScarScript generates Go code and uses Go tooling to run or build your program.
Your first program
Create hello.scar:
hello.scarScarScript
func greet(name: str) {
print("Hello, {name}!")
}
greet("world")Run it with scar run hello.scar.
Find your way around
Get started →Install the compiler and run your first script.Learn the syntax →Declarations, operators, loops, and collections.Understand types →Primitive types, inference, arrays, and maps.Use the CLI →Run scripts, build binaries, and inspect errors.
ScarScript is under active development by Team Scarfaze. Check the GitHub releases for the latest compiler, and treat language behavior as version-specific.