Awsum

A functional language with strong static typing, focused on reliability.

Key features

Targets

Editor support

VSCode

{
  // settings.json
  "[awsum]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "awsum-lang.awsum-vscode"
  }
}

Other editors

Examples

Installation

Usage

Examples:

awsum build test/sources/hello.aww -t js  -o out.js  && node out.js "world"
awsum build test/sources/hello.aww -t lua -o out.lua && lua out.lua "world"

awsum run test/sources/hello.aww -t js  --input "world"
awsum run test/sources/hello.aww -t lua --input "world"

echo "world" | awsum run test/sources/hello.aww -t js  --stdin
echo "world" | awsum run test/sources/hello.aww -t lua --stdin

awsum check  test/sources/hello.aww
awsum format test/sources/hello.aww -i
awsum ast    test/sources/hello.aww
awsum core   test/sources/hello.aww
awsum --version

Roadmap

Notes


Compiler repository: github.com/awsum-lang/awsum