fork download
  1. %{
  2. #include<stdio.h>
  3. %}
  4. int main() { extern FILE *yyin;
  5. yyin=fopen("basic.txt","r"); yylex(); return 0;
  6. }
Success #stdin #stdout #stderr 0.03s 6944KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
ERROR: /home/Lfvh6o/prog:6:1: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit