Skip to content

Violette v0.1.0

Choose a tag to compare

@Krev3tka Krev3tka released this 11 Sep 17:16
· 32 commits to main since this release

Violette v0.1.0

The first release of the Violette programming language compiler

Violette is a statically typed systems programming language compiling down to C with deterministic memory management with no GC overhead

What's in this release:

  • Syntax:

    • Haskell-like operator sections: (> 5), (== 0)
    • First-class binary operators as functions: (+), (*), (**), (-)
    • Pipeline operator ~> (Sprout): data ~> transform ~> validate
    • Expression-bodied functions: func add(a: int, b: int) [int] = a + b
    • new return type syntax: func foo() [ReturnType]
    • Inclusive (..) and exclusive (:) range expressions
  • Systems Semantics & Safety:

    • Value semantics on the stack by default
    • Explicit mutable references: var a: &int for safe in-place mutations
    • UFCS (Uniform Function Call Syntax) methods on primitives and extend-blocks for structs
    • C runtime with reference-counted strings
  • Compiler & Tooling:

    • Gleam-style compiler diagnostics with source line frames, secondary labels, and helpful hints
    • Integration test suite (Viotestte, 38 tests)

Violette by Krev3tka