🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2575

Translating into Prolog

#2575
From: dowding
Date: Wed, 11 Mar 1987 16:31
20 lines
1288 bytes
Does anyone out there have experience with implementing very high
level languages in Prolog?  I have been working on a translator
for the Restriction Grammar (a logic grammar formalism).  My problem
is that the resulting Prolog code contains extremely large data
structures, much larger than you would find in a program written in Prolog
directly.  

My understanding is that most Prolog compilers are optimized to make
handling small terms efficient at the expense of large terms 
(by using copy-on-use rather than structure-sharing).
Does anyone know of any methods to use in translation to make large terms
efficient?


Thanks in advance,
John Dowding

dowding@bigburd.prc.unisys.com

-- 
Technical Details
Message-ID: <2260@bigburd.PRC.Unisys.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!sri-unix!sri-spam!ames!ll-xn!cit-vax!usc-oberon!sdcrdcf!burdvax!bigburd!dowding

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!sri-unix!sri-spam!ames!ll-xn!cit-vax!usc-oberon!sdcrdcf!burdvax!bigburd!dowding
From: dowding@bigburd.UUCP
Newsgroups: comp.lang.prolog
Subject: Translating into Prolog
Message-ID: <2260@bigburd.PRC.Unisys.COM>
Date: Wed, 11-Mar-87 11:31:36 EST
Article-I.D.: bigburd.2260
Posted: Wed Mar 11 11:31:36 1987
Date-Received: Sat, 14-Mar-87 06:35:44 EST
Sender: news@bigburd.PRC.Unisys.COM
Organization: Unisys/Paoli Research Center, Paoli, PA
Lines: 20