fork download
  1. %option noyywrap
  2. %{
  3. #include<stdio.h>
  4. %}
  5. %%
  6. . ECHO;
  7. %%
  8. int main(){
  9. yylex();
  10. return 0;
  11.  
  12. }
Success #stdin #stdout #stderr 0.02s 6960KB
stdin
run
run
ddfdf
stdout
Standard output is empty
stderr
ERROR: /home/7LNqWm/prog:3:5: Syntax error: Operator expected
ERROR: /home/7LNqWm/prog:12:0: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ?    Call: (3) program ? ERROR: Can't retry at this port
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ?    Exception: (3) ... ? EOF: exit