You&#39;re better off learning C and writing it yourself than what you&#39;re asking for.<br><br>Writing a parser that takes pat file input and automatically parses that into C/C++ or even Java source code is a &quot;hard problem.&quot; Code synthesis tools do exist, like Rational Rose based on UML/object to code generation. However if you ever look at the code generated, you&#39;ll realize why tools like this are a ways off from being taken more seriously by developers. I would suggest looking for a patch or a tool that already does what you&#39;re asking for. It will be much easier than writing a parser.
<br><br>Brandon<br><br><br><div><span class="gmail_quote">On 9/3/07, <b class="gmail_sendername">Pierre-Emmanuel Levesque</b> &lt;<a href="mailto:pancakepalace@hotmail.com">pancakepalace@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi everyone,<br><br>I was wondering if there are any programs that would translate<br>the text code of a max patch to java or C code automatically.<br><br>A few years back, I programmed a very complex patch for tracing
<br>3d paths that are used to spatialize sound in 3D. I would like<br>to keep working on this program, but it would be much easier<br>in C and more efficient.<br><br>Or course, I could port the code myself... but, this would be long.
<br><br>Is this even possible?<br><br>thanks<br>_______________________________________________<br>maxmsp mailing list<br><a href="mailto:maxmsp@cycling74.com">maxmsp@cycling74.com</a><br><a href="http://www.cycling74.com/mailman/listinfo/maxmsp">
http://www.cycling74.com/mailman/listinfo/maxmsp</a><br></blockquote></div><br>