12 releases (7 breaking)
0.9.3 | Jun 13, 2024 |
---|---|
0.8.0 | Jun 12, 2024 |
#135 in Programming languages
409 downloads per month
63KB
1.5K
SLoC
som
An idiot admires complexity, a genius admires simplicity.
struct person:
name: string
age: number
age_in_days() -> number:
let age_in_months = .age * 12;
age_in_months * 30
;
*new(name: string, age: number) -> self:
self {
name
age
}
;
;
let lucas = person::new('Lucas', 22);
lucas.age_in_days(); // 7920
Dependencies
~4–12MB
~117K SLoC