Back to search

University of Victoria (Canada)

Optimization of directly executable LR parsers

Abstract

dc:description.abstract

Directly-executable parsers enable compilers and other parse-intensive applications to run significantly faster than those which use table-driven parsers. The cost for increased speed is a larger parser. It is possible to further increase parsing speed by applying various optimization algorithms at parser generation time. Some existing optimizations used with table-driven parsers are applicable, while others apply only to directly-executable parsers. It is also possible to reduce the size of hard-coded parsers substantially. Several optimization algorithms for directly-executable LR parsers are presented. They are designed to be implementable at the parser construction phase, within an LR parser generator. The algorithms are "adaptive" in the sense that the complexity of each part of the generated parsing automaton reflects the complexity of the grammatical construct to be parsed, independently of the rest of the parser.

Degree

thesis:*
Level thesis:degree_level
Master of Science M.Sc.
Department thesis:degree_department
Department of Computer Science
Year dc:date.issued
1988

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Whitney, Michael James

Rights

dc:rights
Statement dc:rights
  • Available to the World Wide Web

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1828/20098

Chain of custody

source
Harvested from
University of Victoria (Canada)
Base URL
dspace.library.uvic.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Whitney, Michael James. Optimization of directly executable LR parsers. Master of Science M.Sc. thesis, 1988. https://hdl.handle.net/1828/20098