커뮤니티
컴파일러자료
제목:    IISPL Parser 사용법
  934   김윤중
How to use the IISPL Parser Generator
  • Major Components of the IISPL Parser Generator System
  • Experimental Environment of IISPL Parser Generator System
    • Create a Folder for the experiment
      • Folder Location : d:/Compiler/
    • Download the Lex / Yacc Compiler , IISPLParserGenerator.exe and IISPLParserGeneratorStudio.dll, on to the location "d:/Compiler/".
  • Generate a Project over the Visual Studio 5.0
    • Set the location of the Project : d:/Compiler/
          the Project Name  : TestLex
       
    • Set the project type to the Console Application.
    • Make a reference of the project to the library module .
  • Generate a LEX Program Source "testlex.lex" and "testlex.lex.cs" over the tool of the IISPL Parser Generator.
    • Use the IISPL Parser Generator Tool(d:/Compiler/IISPLParserGenerator.exe)
    • Create a LEX Source " Test.lex"  on the location of "d:/Compiler/".
    • Compile the Test.lex so that a new Test.lex.cs is produced on the same folder.
  • Generate an execution program titled "TestLex.exe" using the source of testlex.lex.cs
    • Create some execution codes on the Program.cs file
    • Compile the project and execute the application of TextLex.exe