[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Abstracting continuations
From: <vkarvone@mappi.helsinki.fi>
>
> A third idea comes from my spare time hobby. I have been designing a
> functional higher-order programming language, which I call Order, on top
> of the C preprocessor macro mechanism. The current implementation of the
> Order interpreter is based on an abstract machine called the continuation
> machine. The purpose of the continuation machine is to make it possible to
> compute recursive functions on the C preprocessor.
> In order to be able to compute arbitrary functions using the continuation
> machine, one needs to write the functions in CPS (continuation passing
> style).
This is one of the more warped ideas I've seen in a while.
I've always thought that the preprocessor had more power
than C itself.