Changes to LOLCODE in Tcl between r0 and r1
(blank line)
'''Implementing the LOLCODE Language in Tcl'''
(blank line)
Example LOLCODE program:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
It should be obvious that this is syntactically valid Tcl. Thus we just need to implement the grammar. --> It should be obvious that this is syntactically valid [Tcl]. Thus we just need to implement the grammar.
proc HAI {} {
# No initialization required
}
proc CAN args {
# XXX: Incomplete implementation
}
proc VISIBLE {str} {
puts stdout $str
}
proc KTHXBYE {{ret 0}} {
exit $ret
}
Legend
Only in r0
Only in r1 --> Modified slightly between r0 and r1