phoenix modifying scoped environment

Andrey Asadchev <[email protected]> Sun, 27 Jun 2010 11:54:47 -0500
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <[email protected]>
hello.

I have something that looks like this:

let(k = 0)[custom_expression[ cout << k ] ];

Where custom_expression eval looks like this:
let(j = 0)[f].eval(env); // f is "cout << "

 what been trying to do is introduce some local variables into the
environment inside custom_expression.
However, my approach did not work,  seems like let declaration of k gets
lost in custom_expression let expression (however env does have it)

How can I accomplish this?
thank you

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
Spirit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-devel