Re: stackless python

2000-10-21 Thread Larry Wall
Joshua N Pritikin writes: : http://www.oreillynet.com/pub/a/python/2000/10/04/stackless-intro.html Perl 5 is already stackless in that sense, though we never implemented continuations. The main impetus for going stackless was to make it possible to implement a Forth-style treaded code interprete

Re: stackless python

2000-10-21 Thread Jarkko Hietaniemi
On Sat, Oct 21, 2000 at 11:07:44AM -0400, Ken Fox wrote: > Joshua N Pritikin wrote: > > http://www.oreillynet.com/pub/a/python/2000/10/04/stackless-intro.html > > That talks about moving from the C stack to a frame stack, continuations, > co-routines and microthreads. None of it made much sense.

Re: stackless python

2000-10-21 Thread Ken Fox
Joshua N Pritikin wrote: > http://www.oreillynet.com/pub/a/python/2000/10/04/stackless-intro.html That talks about moving from the C stack to a frame stack, continuations, co-routines and microthreads. None of it made much sense. (Choosing continuations as the basis of the system would be very Sc

Semantic analysis [Was: compile-time taint checking and the halting problem]

2000-10-21 Thread Ken Fox
"David L. Nicol" wrote: > So what would be involved in adding hooks for arbitrary semantic analysis? At the most fundamental level all you need is a parse tree with attributes that you can write constraints against. IMHO there isn't much difference in technique between "semantic analysis" and "op