Primary:
[Skip To Body]
[Front Door]
[Current]
[Glance]
[Honesty]
[Instructions]
[Links]
[Search]
[Syllabus]
Sets:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Project]
[Readings]
[Reference]
ECA:
[About]
[Grades]
[Quizzes]
[Submit Work]
[Change Password]
[Reset Password]
Miscellaneous:
[2001S]
[98F]
[SamR]
[Glimmer Labs]
Back to Context-Free and Context-Sensistive Grammars. On to Parsing Expressions.
Held Friday, September 20, 2002
Summary
Today we consider a significant problem in the use of grammars: Ambiguous grammars.
Notes
a
nb
n (or at
least I think you do). How about
strings of?a
's andb
's with equal numbers ofa
's andb
's
Overview
S ::= | SS | a
aa
?
Statement ::= Conditional | OTHER Conditional ::= IF TEST THEN Statement | IF TEST THEN Statement ELSE Statement
Exp: NUM Exp: ID Exp: Exp MULOP Exp Exp: Exp ADDOP Exp Exp: LPAREN Exp RPAREN
Back to Context-Free and Context-Sensistive Grammars. On to Parsing Expressions.
Primary:
[Skip To Body]
[Front Door]
[Current]
[Glance]
[Honesty]
[Instructions]
[Links]
[Search]
[Syllabus]
Sets:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Project]
[Readings]
[Reference]
ECA:
[About]
[Grades]
[Quizzes]
[Submit Work]
[Change Password]
[Reset Password]
Miscellaneous:
[2001S]
[98F]
[SamR]
[Glimmer Labs]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Fri Dec 6 10:38:04 2002.
The source to the document was last modified on Wed Sep 4 10:08:34 2002.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS362/2002F/Outlines/outline.10.html
.
You may wish to
validate this document's HTML
;
;
Check with Bobby