Faster Tomita parsing
| dc.contributor.author | Aycock, John Daniel | en_US |
| dc.date.accessioned | 2024-08-12T19:31:20Z | |
| dc.date.available | 2024-08-12T19:31:20Z | |
| dc.date.copyright | 1998 | en_US |
| dc.date.issued | 1998 | |
| dc.degree.department | Department of Computer Science | |
| dc.degree.level | Master of Science M.Sc. | en |
| dc.description.abstract | Tomita's parsing method, or generalized LR parsing, was designed to parse ambiguous grammars efficiently. Tomita uses specific linear-time LR parsing techniques as long as possible, falling back on more expensive general techniques when necessary. Much research has addressed speeding up LR parsers, in this thesis, we argue that this previous work is not transferable to Tomita parsers. To speed up LR parsers, we reduce LR parsing overhead two ways: grammar transformations unroll recursion, and larger finite automata in the parser trade space for time. We have devised a variant of Tomita's algorithm which incorporates our low overhead LR parsers. Our timings show that our Tomita variant gives an order of magnitude improvement for the worst case ambiguous grammar on most inputs, several orders of magnitude improvement are seen on larger grammars. | |
| dc.format.extent | 85 pages | |
| dc.identifier.uri | https://hdl.handle.net/1828/17005 | |
| dc.rights | Available to the World Wide Web | en_US |
| dc.title | Faster Tomita parsing | en_US |
| dc.type | Thesis | en_US |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- AYCOCK_John_Daniel_MSc_1998_936671.pdf
- Size:
- 6.81 MB
- Format:
- Adobe Portable Document Format