Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!uunet!psinntp!hk.super.net!news.ust.hk!kean
From: kean@cs.ust.hk (Alex Kean)
Subject: Re: How to generate WAM code
Message-ID: <1994Sep5.015824.1897@uxmail.ust.hk>
Sender: usenet@uxmail.ust.hk (usenet account)
Organization: The Hong Kong University of Science and Technology
References: <34cb8m$ici@rs18.hrz.th-darmstadt.de>
Date: Mon, 5 Sep 1994 01:58:24 GMT
Lines: 42

In article <34cb8m$ici@rs18.hrz.th-darmstadt.de> raab@rbg.informatik.th-darmstadt.de (andreas raab) writes:
>
>I'm currently writing a Prolog-to-WAMcode compiler in Prolog,
>using Ait-Kaci's book as main reference.
>
>The problem is that the book does not contain an algorithm
>for the translation of a Prolog-term into it's flattened form,
>which is subsequently used for code generation.
>
>The book and also David H.D. Warren's paper from 1983 contain
>some examples, but I'm still not sure if my code is correct.
>
>Does anybody have information on WAM code generation other
>than examples?
>
>
>Andreas
>
>

Sorry to deviate from your question. I like add to the question
what is the state of

   compiling WAM code into machine dependent assembly code?

Any pointers?

Thanks.
Alex Kean
-------------------------------------------------------------------------
Department of Computer Science                       Email:kean@cs.ust.hk
The Hong Kong University of Science & Technology     Tel: (852) 358-6992
Clear Water Bay, Kowloon, HONG KONG                  Fax: (852) 358-1477
-------------------------------------------------------------------------








