Skip to content

Line Decorators

For convenience, the for loop and if statement can be applied to single statements at the end of the line:

print "hello world" if name == "Rob"

And with basic loops:

print "item: ", item for item in *items

And with while loops:

game\update! while game\isRunning!
reader\parse_line! until reader\eof!

YueScriptCompiler

Loading compiler…