From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19d0849c68914783 X-Google-Attributes: gid103376,public From: "David Kristola" Subject: Re: Design problem using Multiple Dispatch or Redispatch (long) Date: 2000/03/14 Message-ID: <01HW.B4F340EE00B0C342059C0DC0@news.pacbell.net>#1/1 X-Deja-AN: 597266052 Content-Transfer-Encoding: 7bit References: <38CDAA56.36B9E1C1@yahoo.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 953024743 63.194.212.92 (Tue, 14 Mar 2000 01:05:43 PST) Organization: heaps of stacks MIME-Version: 1.0 Reply-To: David95037@see-my.sig NNTP-Posting-Date: Tue, 14 Mar 2000 01:05:43 PST Newsgroups: comp.lang.ada Date: 2000-03-14T00:00:00+00:00 List-Id: On Mon, 13 Mar 2000 18:59:57 -0800, Thom Brooke wrote (in message <38CDAA56.36B9E1C1@yahoo.com>): > Does anyone have any ideas? I'm not sure if this helps any (it is late, and i didn't follow all of your post, sorry). First, i think you might want to check out John Volan's page on the "with-ing" problem (and solution). http://home.bluemarble.net/~jvolan/WithingProblem/FAQ.html Second, perhaps some sort of registration and match process could help. Processors could register with some dispatcher (not tagged type dispatching), and provide a pattern matcher that identifies a byte pattern that will be accepted by the processor. Given new input, the dispatcher would search down it's list of pattern matchers until it finds a match, then call the associated processor. --djk email not spam to David95037 (at the dot com called america on-line)