> Being a cs1 student (well Physics actually, but my minor subject is
> computer science), I recently learned about Chomsky grammars. One of the
> assignments was to classify given grammars as anything between CH-0 and
> CH-3. That's not too hard for a human IMO, but somehow quite a few of my
> fellow student can't wrap around those concepts. Hence I decided to
> write a quick Perl script to classify given grammars. (Yes, I know, I'm
> not actually helping anybody understand it that way.)

What about a frontend for the code that turns it into a self-study
program, giving you the bit, and asking that the user classify it, and
select the reasoning, and then telling them whether they were correct or
not, or whether they were correct for the right reasons.

Joey

Reply via email to