Re: lambda-like expressions for C
- From: "Peter \"Firefly\" Lund" <firefly diku dk>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: Edward Peschko <esp5 mdssirds comp pge com>, Mariano Suarez-Alvarez <msuarezalvarez arnet com ar>, gtk-list gnome org
- Subject: Re: lambda-like expressions for C
- Date: Thu, 10 Apr 2003 14:45:51 +0200 (MEST)
On Thu, 10 Apr 2003, Paul Davis wrote:
> either i just don't understand what you want to do, or you don't
> understand enough about how a program in C (or C++ or any other
> compiled-to-machine-code language) works when its executing.
Paul is right.
> dynamically link the resulting object. problem is: no context for the
> variables can be provided. the most "complex" one requires a full C
> interpreter, several of which exist, but again, the interpreter would
> have no context for the variables that you are transferring from the
> outer scope of the "lambda" expression.
tcc has a nice library for compiling C code on the fly - it only works on
Linux IA32 for now, though.
And anyway, it is still not what the original poster wants.
(and it is, of course, NOT a lambda expression, anyway)
> so, as i said, either i am misunderstanding you or you don't seem to
> grasp this basic level of program execution.
Paul is right again.
-Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]