<div dir="ltr">I&#39;m not sure if it has one, but it would be pretty straightforward to add one -- just delete the code generated from the compilation process instead of sporking it. See chuck_main.cpp: <a href="https://github.com/ccrma/chuck/blob/master/src/host/chuck_main.cpp" target="_blank">https://github.com/ccrma/chuck/blob/master/src/host/chuck_main.cpp</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 10, 2019 at 7:24 PM Forrest Cahoon &lt;<a href="mailto:forrest.cahoon@gmail.com" target="_blank">forrest.cahoon@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I&#39;m looking at trying to add more to my ChucK vscode extension, and I&#39;d love to be able to run chuck on the code being edited so that I can parse and highlight the errors.</div><div><br></div><div>However, I don&#39;t know how you would run chuck to just generate syntax errors. I see there is a --silent switch, which would work for the purpose, but would be an unnecessary waste of resources just to get the possible syntax errors.</div><div><br></div><div>Csound has a --syntax-check-only command-line option. Is there something like this for ChucK? If not, would it be straightforward to add one?</div><div><br></div><div>Forrest</div><div><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" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div>