fork download
  1. %%
  2. abc { printf("ABC"); }
  3. .|\n { putchar(yytext[0]); }
  4. %%
  5. int main() {
  6. yylex();
  7. return 0;
  8. }
  9.  
Success #stdin #stdout #stderr 0.03s 6976KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
ERROR: /home/7eaHQS/prog:8:1: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit