|
- // Lexical edge cases for E02-S02. Every line here must lex without error.
- program Tokens
- var a_b1 as word
- var ABCDEFGHIJKLMNOP as byte
- a_b1 = $ffFF + %1010 + 65535 + 0 + $0 + %0
- END Program WHILE wHiLe
- x = ( ) [ ] , . : = + - * / < > <> <= >=
- y=a<>b<=c>=d<e>f
- s = "q\"\\\n\r" + "" + "x ' y"
- c = 'x' + '\'' + '\\' + '\n' + '\R' + '"'
-
- tabbed = 1 // tab separated
- z = 7 / 2 // division, then a comment
- // comment-only line
- self.data[i] = not true and false or null
- end program
|