Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!mailrus!ames!hc!lll-winken!lll-crg.llnl.gov!daven
From: daven@lll-crg.llnl.gov (Dave Nelson)
Newsgroups: comp.lang.prolog
Subject: Why no macro facility?
Message-ID: <9671@lll-winken.llnl.gov>
Date: 7 Jul 88 18:00:51 GMT
Sender: usenet@lll-winken.llnl.gov
Reply-To: daven@lll-crg.llnl.gov (Dave Nelson)
Organization: Lawrence Livermore National Laboratory
Lines: 16

Could someone tell me why prolog has no built-in macro facility?
Even the industrial strength, full-featured prolog I am currently
evaluating doesn't have such a thing.

This sort of source-to-source transformation of files, *which can then
be compiled*, is the LISP feature I miss the most (so far :-).

Oh, and another thing...would it be so hard to put in a compile(pred, arity)
to take a currently interpreted predicate and compile it?  All the
compile(frob) directives interpret frob as a filename.

daven (Dave Nelson)


daven (Dave Nelson)
arpa:  daven @ lll-crg.llnl.gov
uucp:  ...{seismo,gymble,mordor,sun,lll-lcc}!lll-crg!daven