How to compile LEX/YACC files on Windows?

前端 未结 9 1717
春和景丽
春和景丽 2020-11-28 19:53

I\'m having Lex and YACC files to parse my files (.l file and .y file).

How to compile those files and how to mak

9条回答
  •  孤街浪徒
    2020-11-28 20:18

    I was having the same problem, it has a very simple solution.
    Steps for executing the 'Lex' program:

    1. Tools->'Lex File Compiler'
    2. Tools->'Lex Build'
    3. Tools->'Open CMD'
    4. Then in command prompt type 'name_of_file.exe' example->'1.exe'
    5. Then entering the whole input press Ctrl + Z and press Enter.

    Example

提交回复
热议问题