I'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:
https://github.com/ccrma/chuck/blob/master/src/host/chuck_main.cpp
On Mon, Jun 10, 2019 at 7:24 PM Forrest Cahoon
I'm looking at trying to add more to my ChucK vscode extension, and I'd love to be able to run chuck on the code being edited so that I can parse and highlight the errors.
However, I don'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.
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?
Forrest
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users