// see also regression/calculator/scanner

%interactive
%filenames scanner

%%

[ \t]+                          // skip white space

\n                              return Tokens::EOLN;

[0-9]+                          return Tokens::NUMBER;

.                               return matched()[0];


%%


