[net.lang.prolog] YACC/LEX grammar for Prolog? or Prolog-Prolog

Fox%VPI.CSNet%CSNet-Relay@sri-unix.UUCP (08/28/84)

From:  Ed Fox <Fox%VPI.CSNet@CSNet-Relay>

Can anyone send me a YACC/LEX grammar system for Prolog,
or a translator using those tools that will handle conversions
between dialects of Prolog?  Alternatively, such a routine
written in Prolog is acceptable.

My need is to convert Prolog code written in DEC-20 or similar
Prologs to our HC system that has been under development here
by John Roach et al. Doing it by hand or editor is tedious and
re-inventing the wheel to parse Prolog seems silly, though I
expect to have to add in the HC code generation  part in any
case.

Many Thanks,

-- Ed Fox