6.8 The Code

Code Summary for this Chapter.

bottomup_recognizer.pl: View Download

The naive bottom-up recognizer

bottomup_recognizer_tests.pl: View Download

Input for testing

topdown_recognizer.pl: View Download

The (less naive :-) top down recognizer

topdown_recognizer_tests.pl: View Download

...

topdown_parser.pl: View Download

...

topdown_parser_tests.pl: View Download

...

ourEng.pl: View Download

The English grammar we discussed in the lecture

aNbN.pl: View Download

A grammar which generates

epsilon.pl: View Download

A grammar with an empty production;  s ---> []

leftrec.pl: View Download

A left-recursive grammar for


Kristina Striegnitz, Patrick Blackburn, Katrin Erk, Stephan Walter, Aljoscha Burchardt and Dimitra Tsovaltzi
Version 1.2.5 (20030212)