ACM Transactions on Programming Languages and Systems · 1984 · 61 citations · 12 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSyntaxAbstract Syntax TreesCompiler ConstructionParsingSyntactic ParsingSyntax AnalysisSyntax ParsingParser Design
Six methods for parser table compression are compared. The investigations are focused on four methods that allow the access of table entries with a constant number of index operations. The advantage of these methods is that the access to the compressed tables can be programmed efficiently in portable high-level languages like Pascal or FORTRAN. The results are related to two simple methods based on list searching. Experimental results on eleven different grammars show that, on the average, a method based on graph coloring turns out best.
12
New methods to color the vertices of a graph
Daniel Brélaz · Communications of the ACM · 1979 · 1.6K citations · Full text
Yacc : Yet Another Compiler Compiler
S. C. Johnson, Murray Hill · 1978 · 1.2K citations