fork download
  1. %%writefile program.l
  2.  
  3. %{
  4. #include "y.tab.h"
  5. %}
  6. %%
  7. [a-zA-Z] {return LETTER;}
  8. [0-9] {return DIGIT;}
  9. [_] {return UND;}
  10. \n {return NL;}
  11. . {return yytext[0];}
  12. %%
Success #stdin #stdout #stderr 0.02s 6904KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
ERROR: /home/slmtRf/prog:4:5: Syntax error: Operator expected
ERROR: /home/slmtRf/prog:12:1: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit