sora is a programming language created in 2019.
#2380on PLDB | 5Years Old |
func get(node: &mut Foo, k: usize) -> maybe &mut Foo {
if k == 0 {
return node // no semicolons, only newlines
} else if let next = node->next { // node->next is a maybe &mut Foo, this accesses the value of the maybe type.
return get(next, k-1)
} else {
return null
}
}
Feature | Supported | Token | Example |
---|---|---|---|
Comments | ✓ | // A comment |
|
Line Comments | ✓ | // | // A comment |
Semantic Indentation | X |