output.txt (1402B)
1 line: 1 token=INT val='+1234' 2 line: 2 token=INT val='50' 3 line: 3 token=INT val='-115' 4 line: 4 token=FLOAT val='3.14' 5 line: 5 token=FLOAT val='-10.0' 6 line: 6 token=FLOAT val='+0.0001' 7 line: 7 token=FLOAT val='3.14e-10' 8 line: 8 token=FLOAT val='0e0' 9 line: 9 token=DEFIN val='static-facts' 10 line: 10 token=DEFIN val='MoveUp' 11 line: 11 token=DEFIN val='CUBES' 12 line: 12 token=DEFIN val='sum-1' 13 line: 13 token=DEFIN val='table' 14 line: 14 token=DEFIN val='pacman' 15 line: 15 token=DEFIN val='A-21-b' 16 line: 16 token=VAR val='?x' 17 line: 17 token=VAR val='?X' 18 line: 18 token=VAR val='?3' 19 line: 19 token=VAR val='?ad' 20 line: 20 token=VAR val='?X1b23' 21 line: 21 token=VAR val='?32AbC' 22 line: 22 token=VAR val='?ABcd1234de' 23 line: 23 token=STR val='""' 24 line: 24 token=STR val='"Test"' 25 line: 25 token=STR val='"Hello world"' 26 line: 26 token=STR val='"Mark said, \"Boo!\""' 27 line: 28 token=DEFIN val='ignore' 28 line: 28 token=DEFIN val='whitespace' 29 line: 29 token=UNKNOWN val='#unknown' 30 line: 29 token=VAR val='?2' 31 line: 29 token=UNKNOWN val='?' 32 line: 29 token=VAR val='?hello' 33 line: 29 token=VAR val='?world' 34 line: 30 token=KEYWORD val='deffacts' 35 line: 30 token=KEYWORD val='defrule' 36 line: 30 token=KEYWORD val='test' 37 line: 31 token=INT val='2' 38 line: 31 token=OPERATOR val='+' 39 line: 31 token=INT val='2'