Skip to content
Thad Ryker edited this page Mar 17, 2020 · 4 revisions

Grun.Net Documentation

Grun.Net is a tool set consisting of primarily two tools: Grun.exe and GrunWin.exe. Both of these tools are designed to help developers of Antlr4 grammars, test those grammars, when deploying them to C# assemblies. These tools do for C# Antlr4 assemblies, what the existing Antlr TestRig does for Java Antlr4 assemblies.

The Grun.exe tool is a command line tool that has almost the exact same functionality as the existing TestRig. The only existing flag not supported is the 'ps' flag. The Grun.exe instead supports a 'svg' flag for writing the graph to a scalable vector graphic file. The command line options for Grun.exe follow the form of --option instead of -option due to the command line parsing tool being used.

The GrunWin.exe tool is a windows gui application with all the same functionality of the Grun.exe tool plus a lot more. This is the primary tool most windows developers will want to use to test their C# deployed Antlr4 grammar assemblies.

Both tools use a common config file to determine syntax highlighting colors, graphing colors, graph throttling logic and the code editor font. The name of this Configuration file is Grun.Net.config.

Clone this wiki locally