Skip to content

Instantly share code, notes, and snippets.

@marcauberer
Created April 2, 2024 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcauberer/0f83efc4f4c4e97d10c74444b9a25600 to your computer and use it in GitHub Desktop.
Save marcauberer/0f83efc4f4c4e97d10c74444b9a25600 to your computer and use it in GitHub Desktop.
Follow(entry) = {#}
Follow(stmtLst) = {#}
Follow(stmt) = {TYPE_INT, TYPE_DOUBLE, PRINT}
Follow(declStmt) = {SEMICOLON}
Follow(additiveExpr) = {SEMICOLON, RPAREN}
Follow(multiplicativeExpr) = {PLUS, MINUS, SEMICOLON, RPAREN}
Follow(atomicExpr) = {MUL, DIV, PLUS, MINUS, SEMICOLON, RPAREN}
Follow(printCall) = {SEMICOLON}
Follow(dataType) = {IDENTIFIER}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment