[CrackMonkey] [mailman-owner@zork.net: CrackMonkey Subscribe Notification]

Mr. Bad mr.bad at pigdog.org
Mon Jul 31 17:51:47 PDT 2000


>>>>> "PJC" == Paul J Collins <sneakums at eircom.net> writes:

    PJC> That would be funny, except CORBA is absolutely no use for
    PJC> parsing configuration files.

interface Scanner {
        // set the Parser to send tokens to 
        void setParser(in Parser p);

        // submit next character
        void setC(in string nextChar);
};
        
interface Parser {
        // set the parse handler to handle parse events
        void setParseHandler(in ParseHandler ph);
        // when the scanner finds a new token, tells us here
        void nextToken(string token);
};

interface ParseHandler {
        void parseEvent(in string eventName, in sequence<string> params); 
};


And OF COURSE I didn't actually check that.

~Mr. Bad

-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /\____/\   Mr. Bad <mr.bad at pigdog.org>
 \      /   Pigdog Journal | http://pigdog.org/ | *Stay*Real*Bad*
 |  (X \x)   
 (    ((**) "Throw shom-pan-yah in my face once, shame on you. 
  \  <vvv>   Throw shom-pan-yah in my face twice, shame on me."
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the Crackmonkey mailing list