Created
April 19, 2016 01:54
-
-
Save JeOam/fe78ab80482c6d411455db09d0e3dbd2 to your computer and use it in GitHub Desktop.
Compilers Notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Formally, given a context-free grammar, a parse tree according to the grammar is a tree with the following properties:
A -> XIX2···Xn
. Here, XI,X2,... ,Xn each stand for a symbol that is either a terminal or a nonterminal. As a special case, ifA -> €
is a production, then a node labeled A may have a single child labeled €.