The Ameliorated Design Research of LL Analyzing Program in Syntax Analysis

Kui Yang · Systems engineering and electronics · 2002

The  LL (k) grammar can express much more language information than LL(1) grammar in compiling principles and it be of concise and easily distinguishing characteristics. However because  LL (k) analyzing program is much more complex than LL(1) analyzing program, it is not be used widely in practical syntax analysis programs. The ameliorated LL(2) analyzing method greatly simplifies LL(2) analyzing program. The method only adopts to see a sign ahead with a part of regulation formulas when the grammar meet LL(2) instead of LL(1), which enhances the practicability of LL(2) analyzing program.

Read the paper · More papers on PaperTik