erg 0.6.53

The Erg programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
C = Class { .x = Int; .y = Int }
C.
    x = "aa"

_: Str = C.x
_ = C.y # ERR
c = C.new({.x = 1; .y = 2})
_: Int = c.x
_: Int = c.y

D = Class()
D.
    x = y # ERR
    y = 1