mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
39 lines
414 B
Plaintext
39 lines
414 B
Plaintext
|
|
a = ->
|
|
with something
|
|
print .hello
|
|
print hi
|
|
print "world"
|
|
|
|
with leaf
|
|
.world!
|
|
.world 1,2,3
|
|
|
|
g = .what.is.this
|
|
|
|
.hi 1,2,3
|
|
|
|
\hi(1,2).world 2323
|
|
|
|
\hi "yeah", "man"
|
|
.world = 200
|
|
|
|
zyzyzy = with something
|
|
.set_state "hello world"
|
|
|
|
|
|
x = 5 + with Something!
|
|
\write "hello world"
|
|
|
|
|
|
x = {
|
|
hello: with yeah
|
|
\okay!
|
|
}
|
|
|
|
with foo
|
|
\prop"something".hello
|
|
.prop\send(one)
|
|
.prop\send one
|
|
|