Dear Ciao Users,
I have been experimenting with using prolog as a repository for program meta information of c++ programs. Concretly i have exported the parse trees from the gcc compiler into XML, translated them into a prolog program using xslt and then read them into by compiling the program.
I have the following predicate structure node(id,type) node(id,attribute,value) node(fromid,relationship,toid)
The problem that i have is following, the number of nodes is maxing out the system (100,000-1,000,000 nodes with 5-25 relationships per node).
Can you tell me of ways to use prolog, but to use it on datasets that are large? Specifically i have would like to using prolog to query the dataset and write queries.
Thanks in advance,
mike