waikay.net

rambles of an avid procrastinator
"Why do today what you can do tomorrow?"

Killer Grammar from Hell

Sunday, 6 March 2005, 2:21 am, me

Why can’t lecturers write good grammar? Or rather I’m inclined to believe that they don’t bother to. We’re taught that Context Free Grammars (CFGs) should be written in an unambiguous manner but who writes grammar like this:

Expression ::= Expression Expression | ...

and all hell breaks loose. Probably cos the author doesn’t want to get into the nitty gritty details and throws everything into the water.

Ok so we listed down ambiguous statements and made assumptions and finally get a decent parse tree. Then now we’re thrown a totally cryptic sematic to the language. Who defines a semantic in another semantic which we don’t even know? It’s like translating French into German but you don’t even know both.

This assignment is turning into a nightmare. It’s not that’s it’s a hard assignment, it’s just that no clear instructions are given.

Filed under: jargon, rants

Trackbacks

Trackback URL: http://waikay.net/2005/03/killer-grammar-from-hell/trackback

Comments

No comments yet.

RSS feed for comments on this post.

(required)
(required. will not be published)

« Dumping Ground Back to Main The Good Samaritan »
Creative Commons License
Except stated otherwise, content of this site is
licensed under a Creative Commons License.