简单的lex编程,详细见英文描述Running the Lex program 1. Write the Lex specifications as described above in a file 2. On moon.cse.yzu.edu.tw flex prog1.l (Produces lex.yy.c as the output) gcc lex.yy.c -lfl (Compile the C file and link with Lex library) a.out (Run the executable or a.out < hw1.in