Random Sentence Generator Given a Context Free Grammar, the program randomly generates sentences. Very interesting. It was coded using vector and hashtable in C during a term break, when I had nothing else to do. I used tester, header and grammar files from Stanford CS107 course. The programming turns out quite entertaining in the end. Copyright of codes from Stanford CS107 belongs to their author(s). Usage: Step 1: Compile the program $ make Step 2: run the rsg given a grammar file $ rsg grammars/excuse.g