2011-07-16 18:00:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
x = -> print what
|
|
|
|
|
|
|
|
->
|
|
|
|
|
|
|
|
-> -> ->
|
|
|
|
|
|
|
|
go to the barn
|
|
|
|
|
|
|
|
open -> the -> door
|
|
|
|
|
|
|
|
open ->
|
|
|
|
the door
|
|
|
|
hello = ->
|
|
|
|
my func
|
|
|
|
|
|
|
|
h = -> hi
|
|
|
|
|
|
|
|
eat ->, world
|
|
|
|
|
|
|
|
|
|
|
|
(->)()
|
|
|
|
|
|
|
|
x = (...) ->
|
|
|
|
|
|
|
|
hello!
|
|
|
|
hello.world!
|
|
|
|
|
|
|
|
hello!.something
|
|
|
|
what!["ofefe"]
|
|
|
|
|
|
|
|
what! the! heck!
|
|
|
|
|
|
|
|
(a,b,c,d,e) ->
|
|
|
|
|
|
|
|
(a,a,a,a,a) ->
|
|
|
|
print a
|
|
|
|
|
|
|
|
(x=23023) ->
|
|
|
|
|
|
|
|
(x=(y=()->) ->) ->
|
|
|
|
|
|
|
|
(x = if something then yeah else no) ->
|
|
|
|
|
2011-08-20 17:36:17 +00:00
|
|
|
something = (hello=100, world=(x=[[yeah cool]])-> print "eat rice") ->
|
2011-07-16 18:00:39 +00:00
|
|
|
print hello
|
2011-09-12 06:18:05 +00:00
|
|
|
|
|
|
|
(x, y) =>
|
|
|
|
(@x, @y) =>
|
|
|
|
(x=1) =>
|
|
|
|
(@x=1,y,@z="hello world") =>
|
|
|
|
|
|
|
|
|
2011-10-01 06:23:22 +00:00
|
|
|
x -> return
|
|
|
|
y -> return 1
|
|
|
|
z -> return 1, "hello", "world"
|
|
|
|
k -> if yes then return else return
|
|
|
|
|
2012-10-27 19:39:44 +00:00
|
|
|
-> real_name if something
|
2011-10-01 06:23:22 +00:00
|
|
|
|
2016-09-25 22:53:40 +00:00
|
|
|
--
|
|
|
|
|
|
|
|
d(
|
|
|
|
->
|
|
|
|
print "hello world"
|
|
|
|
10
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
d(
|
|
|
|
1,2,3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
|
|
|
|
if something
|
|
|
|
print "okay"
|
|
|
|
10
|
|
|
|
|
|
|
|
10,20
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
f(
|
|
|
|
|
|
|
|
)(
|
|
|
|
|
|
|
|
)(
|
|
|
|
what
|
|
|
|
)(->
|
|
|
|
print "srue"
|
|
|
|
123)
|
|
|
|
|
|
|
|
--
|
|
|
|
|
2016-09-26 00:45:50 +00:00
|
|
|
x = (a,
|
|
|
|
b) ->
|
|
|
|
print "what"
|
|
|
|
|
|
|
|
|
|
|
|
y = (a="hi",
|
|
|
|
b=23) ->
|
|
|
|
print "what"
|
|
|
|
|
|
|
|
z = (
|
|
|
|
a="hi",
|
|
|
|
b=23) ->
|
|
|
|
print "what"
|
|
|
|
|
|
|
|
|
|
|
|
j = (f,g,m,
|
|
|
|
a="hi",
|
|
|
|
b=23
|
|
|
|
) ->
|
|
|
|
print "what"
|
|
|
|
|
2016-09-25 22:53:40 +00:00
|
|
|
|
|
|
|
nil
|