Re: Help Using pldoc_process:doc_comment/4
Ian Tegebo <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAFBOwCbXPht-=zcLohH4B10ci1S7RX_higJjGVoOOQUU38zbXQ@mail.gmail.com> |
In case any searchers pass through, I thought I'd add a reference to the PlDoc paper: http://hcs.science.uva.nl/projects/SWI-Prolog/articles/pldoc.pdf (found linked from http://www.swi-prolog.org/Publications.html) I'm not sure if it would have helped me in my case, but it seems relevant and useful anyway. On Mon, Jul 22, 2013 at 12:29 AM, Ian Tegebo <[email protected]> wrote: > I'd like to process comments for files without worrying about > compiling them or otherwise creating side-effects that may be > problematic. The purpose would be for command completion hints. > > At first, I thought I could use read_clause and/or read_term. It > seems that 'pldoc.pl' needs to be loaded beforehand but I can't seem > to figure out exactly how the state is handled and why I can't just > run a file through read_clause and then be able to call > pldoc_process:doc_comment/4. > > Any suggestions would be appreciated, > -- > Ian Tegebo -- Ian Tegebo