Article View: comp.lang.prolog
Article #698Re: Compilors in Prolog
From: root
Date: Wed, 09 Sep 1992 15:32
Date: Wed, 09 Sep 1992 15:32
15 lines
1162 bytes
1162 bytes
In article <gate.HoagqB1w165w@toz.buffalo.ny.us> cyberman@toz.buffalo.ny.us (Cyberman) writes: >I've written a Parser in prolog [seemed the EASY way to do it!] >and I would like to put in code gnerateing. The problem I'm >having is ERROR generation and backtracking. I'm confused a bit. Take a look at David H. D. Warren's 1980 paper on implementing compilers in Prolog (Logic Programming and Compiler Writing, _Software-Practice and Experience_ 10, Number II). You may also want to read Chapter 23 in Sterling and Shapiro's _The Art of Prolog_ (MIT Press, 1986). Barry Shelton Question Authority! barry@ute.columbiasc.ncr.com Resist much, obey little. Standard disclaimer.
Technical Details
Message-ID:
<1992Sep09.153214.2777@ncrcae.ColumbiaSC.NCR.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!hubcap!ncrcae!ute!rootReferences:
<gate.HoagqB1w165w@toz.buffalo.ny.us>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.prolog Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!hubcap!ncrcae!ute!root From: root@ute.Columbia.NCR.COM () Subject: Re: Compilors in Prolog Message-ID: <1992Sep09.153214.2777@ncrcae.ColumbiaSC.NCR.COM> Nntp-Posting-Host: ute.columbiasc.ncr.com Organization: NCR Corp, E&M-Columbia, Columbia, SC References: <gate.HoagqB1w165w@toz.buffalo.ny.us> Date: Wed, 09 Sep 92 15:32:14 GMT Lines: 16