home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / prolog / 1680 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.prolog
  2. Path: sparky!uunet!gatech!hubcap!ncrcae!ute!root
  3. From: root@ute.Columbia.NCR.COM ()
  4. Subject: Re: Compilors in Prolog
  5. Message-ID: <1992Sep09.153214.2777@ncrcae.ColumbiaSC.NCR.COM>
  6. Nntp-Posting-Host: ute.columbiasc.ncr.com
  7. Organization: NCR Corp, E&M-Columbia, Columbia, SC
  8. References: <gate.HoagqB1w165w@toz.buffalo.ny.us>
  9. Date: Wed, 09 Sep 92 15:32:14 GMT
  10. Lines: 16
  11.  
  12. In article <gate.HoagqB1w165w@toz.buffalo.ny.us>
  13.    cyberman@toz.buffalo.ny.us (Cyberman) writes:
  14. >I've written a Parser in prolog [seemed the EASY way to do it!]
  15. >and I would like to put in code gnerateing.  The problem I'm
  16. >having is ERROR generation and backtracking.  I'm confused a bit.
  17.  
  18. Take a look at David H. D. Warren's 1980 paper on implementing compilers
  19. in Prolog (Logic Programming and Compiler Writing, _Software-Practice and
  20. Experience_ 10, Number II).  You may also want to read Chapter 23 in
  21. Sterling and Shapiro's _The Art of Prolog_ (MIT Press, 1986).
  22.  
  23. Barry Shelton                                        Question Authority!
  24. barry@ute.columbiasc.ncr.com                   Resist much, obey little.
  25.  
  26. Standard disclaimer.
  27.  
  28.