Prolog syntax
- From: "myname" <lslfkjs@xxxxxxxxxxxxx>
- Date: Sun, 23 Mar 2008 16:37:23 +0100
Hello,
there are two elements of Prolog syntax that I do not understand:
a) =.. and []
What are "=.." and "[]" used for here ?
vp(vt,VS,Form) :-
mappend(V,SS,VS),
word(vt,V,S,Form),
member(Type,S),
Type =.. [TYPE],
Cat =.. [TYPE,SS],
Cat.
2) Var-Var
What does "G0-G" (and others) mean in this example ?
vp(Vform,G0-G) -->
v(obj_equi,Vform),
np(G0-G1),
vp(inf,G1-G).
Thanks for your help !
.
- Follow-Ups:
- Re: Prolog syntax
- From: Martin Riener
- Re: Prolog syntax
- Prev by Date: EASTER NUT
- Next by Date: Re: EASTER NUT
- Previous by thread: EASTER NUT
- Next by thread: Re: Prolog syntax
- Index(es):