From: Francis Cianfrocca Date: 2006-09-10T00:32:02+09:00 Subject: Re: state machine in ruby ------=_Part_2630_23671240.1157815916606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/9/06, ara.t.howard@noaa.gov wrote: > > > but have you thought about augmenting it to handle context-free > grammars? > > nope. but i'd take any and all patches! ;-) You'd have to add a parse stack and a lookahead buffer. Might not be that easy, but I'll take a look if I get a chance. > > > And given that text, mechanically generate a state machine that would be > > restartable so it could be event-driven. And the scanner would be pretty > > funky too, it would have to be able to generate a token that means "not > > enough input to scan a complete token, go to sleep now." > > naw, that's easy. just do You solved that?? Nice. > > what's AMQP ?? Advanced Message Queueing Protocol. Very interesting if you're into message-queueing, it's the evolution of the "amq" that J.P.Morgan has been working on for a couple of years and that you've heard periodic rumors about during that time. It's different because it specifies not only the wire protocol (which itself is state-of-the-art and worth a look) but also the broker architecture. Needless to say, all the current work has been done in Java, so they need an agile implementation. :-) ------=_Part_2630_23671240.1157815916606--