[DGD] Document processor system.

Natasha Koroleva natasha.i.koroleva at gmail.com
Mon Apr 15 21:28:54 CEST 2013


I have currently DGD 1.4.19 with kernel lib but will probably use GurbaLib.
For now I am seeing about getting things into an order I want. The
immediate issue is that I want to do document processing within the DGD
environment.

I have started with writing a groff like processor in LPC that will output
a text file for immediate viewing within the environment and a file that
could be picked up by a cron job running groff or docbook or latex or
whatever output the file processor will end up with.

The problem is purely mine. I do not want to rewrite groff in LPC for the
immediately viewable file. So what are my options? I think that I have four.

First solution: use kfun. I still do not find any C APIs for document
processing (only some web services). So I think that I must write a kfun
into DGD that will use system() function.

Second solution: use parse_string(). For now I have only read doc/parser so
I do not know too much about this LPC function, but I think I might profit
from it being context free grammar when I go to parse simple XML.

Third solution: set up some FTP server. At this point I do not know about
this one as I would like to keep the solution upon DGD and/or mudlib only.

Fourth solution: not my problem; let the programmer figure out how to get
the immediately viewable file into the environment. Not really acceptable
solution.



More information about the DGD mailing list