%% %include Jflex.include %include JflexCup.include %% ">"+ { return TOKEN(PTR, yylength()); } "<"+ { return TOKEN(PTR, -yylength()); } "+"+ { return TOKEN(VAL, yylength()); } "-"+ { return TOKEN(VAL, -yylength()); } "." { return TOKEN(PUTCHAR); } "," { return TOKEN(GETCHAR); } "[" { return TOKEN(LOOP_IN); } "]" { return TOKEN(LOOP_OUT); } [^] {}