How to Check Program Syntax
EditRocket provides tools for checking program syntax for the following languages:
EditRocket executes programs by interfacing with the program language libraries. On Mac systems, all of the above languages libraries are pre-installed with the operating system. On Windows, many of the above may need to be installed manually. See the following for information on installing PHP, Perl, and Ruby on windows: Articles.
To check program sytnax, select the tab that contains the program source code in EditRocket,
and then use the Tools menu to navigate to the language type of the program, for example, PHP.
Inside the language menu for PHP, Perl, and Ruby there is an "Check Program Syntax" option. An example for PHP would be the following:
Tools -> PHP -> Check Program Syntax
Selecting the Check Program Syntax option will display a dialog that allows the user to specify the working directory to run the program and any arguments that should be passed to the program. Clicking the "Check" button will display a window with any output returned.
For Java programs, EditRocket provides a Compile option in the Tools -> Java menu. Selecting the Compile option brings up a dialog that allows the user to specify the location of the Java compiler (javac), the Java target version, the output directory, and the Classpath to use when compiling.