[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A plea for a new old language
Maybe I'm missing something, but I don't see how to do CPS in C.
How do you create the continuation inside a function?
> Date: Thu, 8 May 2003 11:27:31 -0400 (EDT)
> From: "Kevin Kelleher" <firstname.lastname@example.org>
> The material on the Parrot website is quite interesting.
> I don't think that CPS would be hard to justify: you
> could probably get away with saying that it would make
> Parrot able to handle a wider variety of languages
> and programming styles.
> Since you're using C, could you simply prepare a template
> or templates for coders who know not CPS? Maybe
> "template" is not the right word; what I mean is
> files that have the CPS stuff in place and comments
> like /*** YOUR CODE GOES HERE ***/
> Kevin Kelleher <email@example.com>