mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-27 11:59:05 +00:00
24 lines
232 B
Python
24 lines
232 B
Python
#[
|
|
aa
|
|
#[ aa ]#
|
|
aa
|
|
]#
|
|
|
|
a = 1
|
|
|
|
func() =
|
|
if True, do:
|
|
# aaa
|
|
log "hello"
|
|
# aaa
|
|
1
|
|
|
|
C = Class()
|
|
C.
|
|
# new
|
|
new() =
|
|
C::__new__()
|
|
norm self = None
|
|
|
|
# create a new instance of C
|
|
_ = C.new()
|