A statically typed scripting language
comeondosomething 0.2.0
Saecki <[email protected]>
A statically typed scripting language
USAGE:
cods [COMMAND][OPTIONS] [-- EXPRESSION]
EXPRESSION:
An expression that will be evaluated
COMMANDS:
r, run <file> Run a file
c, check <file> Check a file
i, interactive Start an interactive repl
OPTIONS:
-h, --help Show this help message
-v, --version Print the version
-f, --format <format> The output format [default: "pretty"] [possible values: "pretty", "json"]
- structs
struct A { b: int, c: float }
- Generics for functions
fun a<T>(i: T) -> T { i }
- Warnings
- Unnecessary semicolons (if a newline is following)