/lrparse

cd assignment, probably will make something fancy out of it later

Primary LanguageC++

lrparse

An crummy implementation of LR parser algorithm, only works for grammar containing symbols E, T, F, +, *, and id lol. yea the lexer is adhoc af if you were wondering, lmao.

here's a screenshot kek yea i hate me too kek

todo

  • Generate LR(1) Items from the grammar
  • Generate CLR Parse table
  • Find LALR Groupings
  • Generate LALR Parse Table