loalang 0.1.15

Loa is a general-purpose, purely immutable, object-oriented programming language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace SingleVariableWithInitializer.

export class Main {
  public run =>
    let x = X new: 24.
    let x' = X new: x value + 18.
    x' value.
}

export class X {
  public var Number value.

  public init new: Number value =>
    value: value.
}