Anniepoo / swipldcgtut

A tutorial for DCG's in swi-Prolog
32 stars 7 forks source link

incorporate JM Vanels comments #2

Open Anniepoo opened 11 years ago

Anniepoo commented 11 years ago

http://www.pathwayslms.com/swipltuts/dcg/index.html#anchintro some_terminals --> [this, is, a, teminal], We shall use the nonterminal as//0 Notation : A DCG head with functor f and arity N is referred to as f//N to distinguish it from a regular Prolog predicate, which we refer to as f/N. : should be said early !!!!!!!!!! 1_4 Variables in Body : more details welcome !!!!!!!!