Skip to content

Opening book details…

Can I read Top-Down Parsing Techniques Explained on EtoBox?

Top-Down Parsing Techniques Explained by Rahul Pandey is a document available to read on EtoBox.

What is Top-Down Parsing Techniques Explained about?

Here are the steps to compute FIRST for any string X in a grammar: 1. If X is a terminal symbol, FIRST(X) = {X} 2. If X → ε is a production rule, ε is in FIRST(X) 3. If X → Y1Y2...Yn is a production rule: - If a terminal a is in FIRST(Yi) and ε is in FIRST(Yj) for all j = 1,...,i-1, then a is in FIRST(X) - If ε is in FIRST(Yj) for all j = 1,...,n, then ε is in FIRST(X) 4. If X is ε

Author
Rahul Pandey
Language
EN