<pre>Machine.add( "<a href="http://foo.ck">foo.ck</a>" );  - as defined here <a href="http://chuck.cs.princeton.edu/doc/language/spork.html">http://chuck.cs.princeton.edu/doc/language/spork.html</a><br><br>or just pass your library filename (e.g. "foo,ck") to chuck *before* your main program.  Like this:<br>
<br>chuck <a href="http://library.ck">library.ck</a> <a href="http://usage.ck">usage.ck</a><br></pre><br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 7:34 AM, Thomas Girod <span dir="ltr"><<a href="mailto:girodt@gmail.com">girodt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi there.<br>
<br>
I'm currently working on a chuck project that is progressively<br>
increasing in size. Some parts of this project are already quite<br>
generic, and I will probably use them in other projects later (namely,<br>
an interface to communicate with the novation's monome ripoff).<br>
<br>
So I start to wonder: how can I organize my code for easy reuse ? What<br>
are the options / good practices to write less monolithic chuck code ?<br>
Is it possible to write something that could behave as a library ?<br>
<br>
Thanks for your attention<br>
<br>
Tom<br>
<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">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>
</blockquote></div><br>