alb...@spenarnc.xs4all.nl (Albert van der Horst): > I can't see why parsers decoders are any different. The Pentium > assembler in my ciforth's ``forth.lab'' library has not a single if > statement and I reckon it is a superior design. (State is kept in an > ai blackboard fashion in bitmaps.) Forth has of course a built in > "look it up, then execute it", which could be regarded as a giant > switch.
Isn't this the idea of using Python dicts as hand-compiled switch statements? Marko -- https://mail.python.org/mailman/listinfo/python-list