Wiki**3
Menu
apresentação
Página Principal
Apresentação
Contactos
aulas
Compiladores
Programação com Objectos
Todas as Disciplinas...
investigação
Orientações
Publicações
misc
Downloads
Community portal
Search
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Recent changes
Help
Log in
Difference between revisions of "Bottom-Up Parsing/Example 2: SLR(1)"
From Wiki**3
<
Bottom-Up Parsing
Revision as of 16:13, 16 May 2011
(
view source
)
Root
(
talk
|
contribs
)
(
→
Problem
)
← Older edit
Revision as of 16:15, 16 May 2011
(
view source
)
Root
(
talk
|
contribs
)
Newer edit →
Line 8:
Line 8:
Terminals: { 0, 1, 2 }
Terminals: { 0, 1, 2 }
+
+
Input: 112110
== Solution ==
== Solution ==
Revision as of 16:15, 16 May 2011
Contents
1
Problem
1.1
Solution
Problem
S -> 1 S 1 | 1 X 0 | 2 X -> 2 | S 1 | X 2
Initial symbol: S
Terminals: { 0, 1, 2 }
Input: 112110
Solution
Categories
:
Teaching
Compilers