# mers documentation ## parsing syntax: - `// ` - `/* */` operators: - ` := ` init - ` = ` assign (`` must be a reference) - `+` - `-` - `*` - `/` - `%` - `&` - `|` - `&&` - `||` keywords (must be between whitespace): - `if ` - `else ` (after `if`) - `loop ` - `switch { }` - ` -> ` - `def <: for types, = for comptime> <_>` for compile-time stuff (types, macros, ...) ## details ### functions A function takes an argument and returns some data: func := input -> input + 2 3.func.println // 5 (list, 0).get // first element (val, match -> match.println, [] -> "doesn't match".println).match ### switch switch { } switch something { int num -> {"int: " + num}.println float num -> {"float: " + num}.println }