mun-lang is a programming language created in 2019.
#815on PLDB | 4Years Old | 1.5kUsers |
0Books | 0Papers |
Source code for the Mun language and runtime.
fn main() {
let sum = add(a, b);
// Comments: Mun natively supports bool, float, and int
let is_true = true;
let var: float = 0.5;
}
// The order of function definitions doesn't matter
fn add(a: int, b: int): int {
a + b
}
Feature | Supported | Token | Example |
---|---|---|---|
Comments | ✓ | // A comment |
|
Line Comments | ✓ | // | // A comment |
Semantic Indentation | X |