SuperSnova LangStatically typed language

Overview

What is SuperSnova Lang?

SuperSnova Lang (Snovalang) is a statically typed language for building services, CLIs, data tools, and native binaries.

  • Source files use the `.snova` extension. Programs are organized into packages. The compiler checks types before execution and can produce native executables.
  • SuperSnova Lang combines expressive type syntax, async tasks, HTTP endpoint decorators, SQL schema tooling, and a growing standard library in one cohesive toolchain driven by the `snova` CLI.

Anatomy of a source file

Every compilable file declares its package, imports dependencies, and defines types or functions.

Minimal program
package com.example.hello

import stdlib.snovalang.Console

func main(): int {
    Console.printline("Hello, SuperSnova Lang!")
    return 0
}
Notes
  • The entry point is typically `func main(): int` for synchronous programs or `async func main(): Task<int>` for async servers.
  • Imports must reference a concrete file stem, for example `import stdlib.snovalang.Console`.