fork download
  1. %{
  2. #include<stdio.h>
  3. %}
  4. %%
  5. is {printf("IS ");}
  6. . {printf("%s",yytext);}
  7. %%
  8. void main()
  9. {
  10. printf("\nInputtt");
  11. yylex();
  12. }
  13. int yywrap()
  14. {
  15. return 1;
  16. }
Success #stdin #stdout #stderr 0.03s 6932KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
ERROR: /home/5tArz4/prog:2:4: Syntax error: Operator expected
ERROR: /home/5tArz4/prog:16:0: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit