Article View: comp.lang.prolog
Article #686Re: Help with C-Prolog, Please.
From: Vasco Pedro
Date: Mon, 07 Sep 1992 12:02
Date: Mon, 07 Sep 1992 12:02
30 lines
1204 bytes
1204 bytes
In article <1992Sep4.121544.13871@ecrc.de> micha@ecrc.de (Micha Meier) writes: > In article 8798@iccgcc.decnet.ab.com, baechtel@iccgcc.decnet.ab.com () writes: > > > > > > In C-Prolog 1.5, is there anyway to get the name of a variable > >in a term? . . . . > [...] If you insist on > C-Prolog, use ROK's public domain parser read.pl and rdtok.pl which > gives you both the term and a list of variable/name pairs. Or get c-prolog 1.6.edai: C Prolog version 1.6.edai % Restoring file /usr/local/lib/prolog/startup-1.6.edai yes | ?- read(A,B). |: A. B = [ 'A' = _0] A = _0 yes Cheers, Vasco Pedro -- .signature illegible
Technical Details
Message-ID:
<VP.92Sep7120206@babel.fct.unl.pt>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!inesc.inesc.pt!dec4pt.puug.pt!unl!nntp!vpReferences:
<1992Sep3.164303.8798@iccgcc.decnet.ab.com> <1992Sep4.121544.13871@ecrc.de>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.prolog Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!inesc.inesc.pt!dec4pt.puug.pt!unl!nntp!vp From: vp@fct.unl.pt (Vasco Pedro) Subject: Re: Help with C-Prolog, Please. In-Reply-To: micha@ecrc.de's message of Fri, 4 Sep 1992 12:15:44 GMT Message-ID: <VP.92Sep7120206@babel.fct.unl.pt> Sender: news@fct.unl.pt (USENET News System) Organization: Universidade Nova de Lisboa -- Lisbon, Portugal References: <1992Sep3.164303.8798@iccgcc.decnet.ab.com> <1992Sep4.121544.13871@ecrc.de> Date: Mon, 7 Sep 1992 12:02:06 GMT Lines: 30