🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #3453

Why no macro facility?

#3453
From: Dave Nelson
Date: Thu, 07 Jul 1988 18:00
17 lines
1147 bytes
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
Technical Details
Message-ID: <9671@lll-winken.llnl.gov>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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