Re: Direct input to JADE.

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
  • Direct input to JADE.
    • Karl Critz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA24827Fri, 24 Apr 1998 08:37:31 -0400 (EDT)
      • Tsyshevsky Vladimir - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA26285Fri, 24 Apr 1998 10:51:39 -0400 (EDT) <=
      • Paul Prescod - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id VAA26821Mon, 27 Apr 1998 21:30:48 -0400 (EDT)