Parser implementation with simple test cases

This parser is based on the one published in "Prolog: The Standard,
Reference Manual".  It doesn't support SWI-Prolog syntax extensions and
it probably has many bugs.  It's a starting point.