Subject: Re: Direct input to JADE. From: Tsyshevsky Vladimir <wowa@xxxxxxxxxx> Date: Fri, 24 Apr 1998 18:47:06 +0400 |
> >I have a nice abstract representation of a grove structure in memory. In >order to get JADE to read my grove, I have to convert my grove structure to >a text representation, print it to a file, and have JADE read and parse the >text file. Robust and simple, but very time consuming. > >Is there any way to establish some sort of direct commnication with JADE so >that I can handoff my grove to JADE without producing the intermediate SGML >file? > >thanks > >-karl > >------------------------- >Karl Critz, Development Engineer >mailto:kcritz@xxxxxxxxxxxxx >http://www-internal/~kcritz >x7768 Here is a result of short hacking of the sources of Jade/SP, let me know, if following is wrong For building an internal Grove Jade uses GroveBuilder class (spgrove/GroveBuilder.cxx). As a result of parsing SGML input, a sequence of events is generated. They are sent to instance of GroveBuilder. The events are slightly described at http://www.jclark.com/sp/generic.htm . The feeding of GroveBuilder with events happens during of execution of line: parser.parseAll(*eh, eceh->cancelPtr()); (DssslApp::load , style/DssslApp.cxx, line 367) So, you need to convert your own groves to event sequence and rewrite this method accordingly Vladimir V. Tsychevski senior expert ----------------------------------------------------- Jet Infosystems Krasnoproletarskaya 6, Tel. (+7 095) 972-1182 Moscow 103006, Russia Fax (+7 095) 972-0791 ----------------------------------------------------- Any opinions or recommendations herein are those of the author and not of his computer. DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Direct input to JADE., Karl Critz | Thread | Re: Direct input to JADE., Paul Prescod |
Direct input to JADE., Karl Critz | Date | Troff / man pages from Jade, Brandon Ibach |
Month |