Hi All,<div><br></div><div>Henrique, I highly encourage you to take a deep look at Michael Heuer's LiCK library.  There are some great things in there that take advantage of a functional paradigm in a generally functional-unfriendly language.<br>

<div><br></div><div>And while we're talking about functional style and other nerdery, I submit for your consideration my attempt to implement a Closure in Chuck to avoid overmuch global state.  This should appeal to you JavaScript geeks out there as well.  It's influenced by ideas in LiCK.  And while it's a bit harder to read than your traditional Chuckian style, it's the most bang-for-buck (in terms of lines of code) I could get out of Chuck in a short session.  </div>

<div><br></div><div>Comments most welcome.</div><div><br></div><div>Enjoy!  </div><div><br></div><div>-Mike<br clear="all"><div><br></div><a href="http://michaelclemow.com" target="_blank">http://michaelclemow.com</a><br>

<a href="http://semiotech.org" target="_blank">http://semiotech.org</a><br><br><br>
<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 11:51 AM, Robert Poor <span dir="ltr"><<a href="mailto:rdpoor@gmail.com" target="_blank">rdpoor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On Tue, May 22, 2012 at 3:19 PM, Michael Heuer <<a href="mailto:heuermh@gmail.com" target="_blank">heuermh@gmail.com</a>> wrote:<br>
> You might be able to hack [eval] by writing to a temp file and Machine.add'ing it.<br>
<br>
That is sooo deliciously nasty, and I don't see why it couldn't work.<br>
I wish I'd thought of it.<br>
<div><div>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br></div></div>