CSE425 Compiler Design Lab

Lab 6 · Canonical LR parser

This lab involves implementing a canonical LR parser


We use a stack implementation

g++ canonicalLRParser.cpp -o clp
./clp input.txt


Use the color_canonicalLRParser.cpp if your terminal supports term256 colours.


← Lab 5 · All labs · Lab 7 →