home *** CD-ROM | disk | FTP | other *** search
Prolog Source | 1990-03-26 | 292 b | 15 lines |
- /*
- Copyright (c) 1986, 90 by Prolog Development Center
- */
-
- domains
- namelist = name*
- name = symbol
-
- predicates
- string_namelist(string, namelist)
-
- clauses
- string_namelist(S, [H|T]) :- fronttoken(S, H, S1), !, string_namelist(S1, T).
- string_namelist(_, []).