摘要 |
PROBLEM TO BE SOLVED: To provide a parser generator preprocessor system reducing number of processes of developing a parser. SOLUTION: A parser developing person describes a BNF definition file 50 and an abstract syntax tree definition file 40 to activate a parser generator preprocessor 60 with these files as inputs and the preprocessor 60 generates a BNF definition file 120 with action from both of the files and gives the generated file 120 with action to a parser generator 130 to generate a program file 140 expressing the operation of the parser. In addition, a compiler 150 is activated to generate a parser execution file 160. In executing the file 160 by using a program execution means 20, a desired language inputting file 10 is parsed and a parser storing an abstract syntax tree in an abstract syntax tree data base 30 comes to operate.
|