2010-01-05 23:15:32 -05:00
|
|
|
# comment
|
2010-01-26 10:52:05 -05:00
|
|
|
func: ->
|
2010-01-05 23:15:32 -05:00
|
|
|
# comment
|
2009-12-30 22:24:40 -05:00
|
|
|
false
|
|
|
|
false # comment
|
|
|
|
false
|
2010-04-21 22:26:45 -04:00
|
|
|
|
2009-12-30 22:24:40 -05:00
|
|
|
# comment
|
|
|
|
true
|
2010-01-05 23:15:32 -05:00
|
|
|
|
2010-01-10 17:36:06 -05:00
|
|
|
switch 'string'
|
|
|
|
# comment
|
|
|
|
when false then something()
|
|
|
|
# comment
|
|
|
|
when null
|
|
|
|
something_else()
|
|
|
|
|
2010-01-26 10:52:05 -05:00
|
|
|
->
|
2010-01-20 20:36:31 -05:00
|
|
|
code()
|
|
|
|
# comment
|
|
|
|
|
2010-02-16 19:45:25 -05:00
|
|
|
ok func()
|
2010-02-16 10:12:40 -05:00
|
|
|
|
|
|
|
func
|
|
|
|
func
|
|
|
|
# Line3
|
2010-03-02 19:23:21 -05:00
|
|
|
|
|
|
|
obj: {
|
|
|
|
# comment
|
|
|
|
# comment
|
|
|
|
# comment
|
|
|
|
one: 1
|
|
|
|
# comment
|
|
|
|
two: 2
|
|
|
|
# comment
|
|
|
|
}
|
2010-03-10 16:44:50 -05:00
|
|
|
|
|
|
|
result: if true # comment
|
|
|
|
false
|
|
|
|
|
|
|
|
ok not result
|
|
|
|
|
|
|
|
result: if false
|
|
|
|
false
|
|
|
|
else # comment
|
|
|
|
45
|
|
|
|
|
|
|
|
ok result is 45
|
2010-03-20 00:58:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
'test ' +
|
|
|
|
'test ' + # comment
|
|
|
|
'test'
|
|
|
|
|
|
|
|
ok test is 'test test test'
|