[Python-Dev] 'stackless' python?

Jeremy Hylton jeremy at cnri.reston.va.us
Tue May 18 17:05:39 CEST 1999


>>>>> "SR" == rushing  <rushing at nightmare.com> writes:

  SR> Somewhere I have an example of coroutines being used for
  SR> parsing, very elegant.  Something like one coroutine does
  SR> lexing, and passes tokens one-by-one to the next level, which
  SR> passes parsed expressions to a compiler, or whatever.  Kinda
  SR> like pipes.

This is the first example that's used in Structured Programming (Dahl,
Djikstra, and Hoare).  I'd be happy to loan a copy to any of the
Python-dev people who sit nearby.

Jeremy




More information about the Python-Dev mailing list