1*16467b97STreehugger Robot<?xml version="1.0" encoding="utf-8"?> 2*16467b97STreehugger Robot<VisualStudioToolFile 3*16467b97STreehugger Robot Name="ANTLR3 Parser" 4*16467b97STreehugger Robot Version="8.00" 5*16467b97STreehugger Robot > 6*16467b97STreehugger Robot <Rules> 7*16467b97STreehugger Robot <CustomBuildRule 8*16467b97STreehugger Robot Name="Antlr3Parser" 9*16467b97STreehugger Robot DisplayName="ANTLR 3 Parser Grammar Translation" 10*16467b97STreehugger Robot CommandLine="[java] [JavaOptions] [ANTLR3Jar] org.antlr.Tool [LibDir] -[Absolute]o [OutputDirectory] -message-format vs2005 [DFA] [NFA] [Report] [Print] [Debug] [Profile] [AST] [TextDFA] [EBNFExits] [CollapseEdges] [DebugNFA] [MaxRules] [MaxDFAEdges] [DFATimeout] [inputs]" 11*16467b97STreehugger Robot Outputs="[OutputDirectory]\$(InputName).c;[OutputDirectory]\$(InputName).h" 12*16467b97STreehugger Robot FileExtensions="*.g3p;*.gp;*.g" 13*16467b97STreehugger Robot ExecutionDescription="Translating to parser." 14*16467b97STreehugger Robot SupportsFileBatching="true" 15*16467b97STreehugger Robot > 16*16467b97STreehugger Robot <Properties> 17*16467b97STreehugger Robot <StringProperty 18*16467b97STreehugger Robot Name="JavaOptions" 19*16467b97STreehugger Robot DisplayName="Java VM Options" 20*16467b97STreehugger Robot PropertyPageName="Java" 21*16467b97STreehugger Robot Description="Specify any options required to invoke the java VM on this grammar file. Sometimes larger grammars require more memory than the standard allocation and you can specify this here." 22*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 23*16467b97STreehugger Robot Switch="[value]" 24*16467b97STreehugger Robot Delimited="true" 25*16467b97STreehugger Robot Inheritable="true" 26*16467b97STreehugger Robot /> 27*16467b97STreehugger Robot <BooleanProperty 28*16467b97STreehugger Robot Name="DFA" 29*16467b97STreehugger Robot DisplayName="Generate DFA dots" 30*16467b97STreehugger Robot PropertyPageName="DOT" 31*16467b97STreehugger Robot Category="DOT Ouputs" 32*16467b97STreehugger Robot Description="When set to True ANTLR3 will produce a number of .dot files that can be used with dot/graphviz to genreate pictorial representations of the DFAs gnerated for this grammar." 33*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 34*16467b97STreehugger Robot Switch="-dfa" 35*16467b97STreehugger Robot /> 36*16467b97STreehugger Robot <BooleanProperty 37*16467b97STreehugger Robot Name="NFA" 38*16467b97STreehugger Robot DisplayName="Generate NFA DOTs" 39*16467b97STreehugger Robot Category="DOT Outputs" 40*16467b97STreehugger Robot Description="When set to True ANTLR3 will produce a number of .dot files that can be used with dot/graphviz to genreate pictorial representations of the NFAs generated for this grammar." 41*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 42*16467b97STreehugger Robot Switch="-nfa" 43*16467b97STreehugger Robot /> 44*16467b97STreehugger Robot <BooleanProperty 45*16467b97STreehugger Robot Name="Report" 46*16467b97STreehugger Robot DisplayName="Generate Report" 47*16467b97STreehugger Robot PropertyPageName="Reporting" 48*16467b97STreehugger Robot Category="Reporting" 49*16467b97STreehugger Robot Description="If set to True then ANTLR3 will generate reports about the grammar file(s) it processes." 50*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 51*16467b97STreehugger Robot Switch="-report" 52*16467b97STreehugger Robot /> 53*16467b97STreehugger Robot <BooleanProperty 54*16467b97STreehugger Robot Name="Print" 55*16467b97STreehugger Robot DisplayName="Print grammar" 56*16467b97STreehugger Robot PropertyPageName="Reporting" 57*16467b97STreehugger Robot Category="Reporting" 58*16467b97STreehugger Robot Description="If set to True ANTLR3 will print out the grammar without the associated actions" 59*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 60*16467b97STreehugger Robot Switch="-print" 61*16467b97STreehugger Robot /> 62*16467b97STreehugger Robot <BooleanProperty 63*16467b97STreehugger Robot Name="Debug" 64*16467b97STreehugger Robot DisplayName="Debug mode" 65*16467b97STreehugger Robot PropertyPageName="Code Generation" 66*16467b97STreehugger Robot Category="Output" 67*16467b97STreehugger Robot Description="If set to True ANTLR3 will generate code that fires debugging events. [JI - Not yet implemented]" 68*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 69*16467b97STreehugger Robot Switch="-debug" 70*16467b97STreehugger Robot /> 71*16467b97STreehugger Robot <BooleanProperty 72*16467b97STreehugger Robot Name="Profile" 73*16467b97STreehugger Robot DisplayName="Generate profile" 74*16467b97STreehugger Robot Category="Output" 75*16467b97STreehugger Robot Description="If set to True ANTLR3 will generate code that computes profiling information [JI - not yet implemented]" 76*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 77*16467b97STreehugger Robot Switch="-profile" 78*16467b97STreehugger Robot /> 79*16467b97STreehugger Robot <BooleanProperty 80*16467b97STreehugger Robot Name="AST" 81*16467b97STreehugger Robot DisplayName="Show AST" 82*16467b97STreehugger Robot PropertyPageName="Extended" 83*16467b97STreehugger Robot Category="Extended" 84*16467b97STreehugger Robot Description="If True ANTLR3 will print out the grammar AST" 85*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 86*16467b97STreehugger Robot Switch="-Xgrtree" 87*16467b97STreehugger Robot /> 88*16467b97STreehugger Robot <StringProperty 89*16467b97STreehugger Robot Name="LibDir" 90*16467b97STreehugger Robot DisplayName="Token directory" 91*16467b97STreehugger Robot PropertyPageName="Code Generation" 92*16467b97STreehugger Robot Category="General" 93*16467b97STreehugger Robot Description="In which directory can ANTLR3 locate grammar token files if not in the same directory as the grammar file." 94*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 95*16467b97STreehugger Robot Switch="-lib [value]" 96*16467b97STreehugger Robot DefaultValue="$(InputDir)" 97*16467b97STreehugger Robot /> 98*16467b97STreehugger Robot <BooleanProperty 99*16467b97STreehugger Robot Name="TextDFA" 100*16467b97STreehugger Robot DisplayName="Text DFA" 101*16467b97STreehugger Robot PropertyPageName="Extended" 102*16467b97STreehugger Robot Category="Extended" 103*16467b97STreehugger Robot Description="If True ANTLR3 will generate a text version of the DFAsfor this grammar." 104*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 105*16467b97STreehugger Robot Switch="-Xdfa" 106*16467b97STreehugger Robot /> 107*16467b97STreehugger Robot <BooleanProperty 108*16467b97STreehugger Robot Name="EBNFExits" 109*16467b97STreehugger Robot DisplayName="EBNF Exits" 110*16467b97STreehugger Robot PropertyPageName="Extended" 111*16467b97STreehugger Robot Category="Extended" 112*16467b97STreehugger Robot Description="If True ANTLR3 will not test EBNF exit branches." 113*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 114*16467b97STreehugger Robot Switch="-Xnoprune" 115*16467b97STreehugger Robot /> 116*16467b97STreehugger Robot <StringProperty 117*16467b97STreehugger Robot Name="OutputDirectory" 118*16467b97STreehugger Robot DisplayName="Output Directory" 119*16467b97STreehugger Robot PropertyPageName="Code Generation" 120*16467b97STreehugger Robot Description="Which directory the generated output files be sent to if not the same directory as the grammar file." 121*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 122*16467b97STreehugger Robot Switch="[value]" 123*16467b97STreehugger Robot DefaultValue="$(InputDir)" 124*16467b97STreehugger Robot /> 125*16467b97STreehugger Robot <BooleanProperty 126*16467b97STreehugger Robot Name="CollapseEdges" 127*16467b97STreehugger Robot DisplayName="Collapse Edges" 128*16467b97STreehugger Robot PropertyPageName="Extended" 129*16467b97STreehugger Robot Category="Extended" 130*16467b97STreehugger Robot Description="Collapse incident edges into DFA states" 131*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 132*16467b97STreehugger Robot Switch="-Xnocollapse" 133*16467b97STreehugger Robot /> 134*16467b97STreehugger Robot <BooleanProperty 135*16467b97STreehugger Robot Name="DebugNFA" 136*16467b97STreehugger Robot DisplayName="Debug NFA" 137*16467b97STreehugger Robot Category="Reporting" 138*16467b97STreehugger Robot Description="If True, ANTLR3 will dump lots of information to the screen during NFA conversion." 139*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 140*16467b97STreehugger Robot Switch="-Xdbgconversion " 141*16467b97STreehugger Robot /> 142*16467b97STreehugger Robot <StringProperty 143*16467b97STreehugger Robot Name="ANTLR3Jar" 144*16467b97STreehugger Robot DisplayName="ANTLR3 Jar" 145*16467b97STreehugger Robot PropertyPageName="Java" 146*16467b97STreehugger Robot Category="JavaVM" 147*16467b97STreehugger Robot Description="Specifies the absolute location of the ANTLR3 jar file if it is not in a location covered by %CLASSPATH%. Specify using UNIX directory delimiters to minimize problems." 148*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 149*16467b97STreehugger Robot Switch="-jar "[value]"" 150*16467b97STreehugger Robot /> 151*16467b97STreehugger Robot <StringProperty 152*16467b97STreehugger Robot Name="Java" 153*16467b97STreehugger Robot DisplayName="Java command" 154*16467b97STreehugger Robot PropertyPageName="Java" 155*16467b97STreehugger Robot Description="Specifies the command that invokes the java VM. Usually java, but could be something else such as jikes" 156*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 157*16467b97STreehugger Robot Switch="[value]" 158*16467b97STreehugger Robot DefaultValue="java" 159*16467b97STreehugger Robot /> 160*16467b97STreehugger Robot <IntegerProperty 161*16467b97STreehugger Robot Name="MaxRules" 162*16467b97STreehugger Robot DisplayName="Max rule call" 163*16467b97STreehugger Robot PropertyPageName="Extended" 164*16467b97STreehugger Robot Category="Analysis" 165*16467b97STreehugger Robot Description="Maximum number of rule invocations during conversion" 166*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 167*16467b97STreehugger Robot Switch="-Xm [value]" 168*16467b97STreehugger Robot DefaultValue="4" 169*16467b97STreehugger Robot /> 170*16467b97STreehugger Robot <IntegerProperty 171*16467b97STreehugger Robot Name="MaxDFAEdges" 172*16467b97STreehugger Robot DisplayName="Max DFA Edges" 173*16467b97STreehugger Robot PropertyPageName="Extended" 174*16467b97STreehugger Robot Category="Extended" 175*16467b97STreehugger Robot Description="Maximum "comfortable" number of edges for single DFA state" 176*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 177*16467b97STreehugger Robot Switch="-Xmaxdfaedges [value]" 178*16467b97STreehugger Robot DefaultValue="65534" 179*16467b97STreehugger Robot /> 180*16467b97STreehugger Robot <IntegerProperty 181*16467b97STreehugger Robot Name="DFATimeout" 182*16467b97STreehugger Robot DisplayName="DFA Timeout" 183*16467b97STreehugger Robot PropertyPageName="Extended" 184*16467b97STreehugger Robot Category="Extended" 185*16467b97STreehugger Robot Description="DFA conversion timeout period for each decision." 186*16467b97STreehugger Robot HelpURL="http://www.antlr.org/wiki/display/ANTLR3/Command+line+options" 187*16467b97STreehugger Robot Switch="-Xconversiontimeout [value]" 188*16467b97STreehugger Robot DefaultValue="1000" 189*16467b97STreehugger Robot /> 190*16467b97STreehugger Robot <BooleanProperty 191*16467b97STreehugger Robot Name="Absolute" 192*16467b97STreehugger Robot DisplayName="Absolute paths" 193*16467b97STreehugger Robot PropertyPageName="Code Generation" 194*16467b97STreehugger Robot Description="If true, causes ANTLR to assume output directory is always the absolute output path and not to use relative paths as per the intput spec. For visual studio, this should usually be set to true." 195*16467b97STreehugger Robot Switch="f" 196*16467b97STreehugger Robot DefaultValue="true" 197*16467b97STreehugger Robot /> 198*16467b97STreehugger Robot </Properties> 199*16467b97STreehugger Robot </CustomBuildRule> 200*16467b97STreehugger Robot </Rules> 201*16467b97STreehugger Robot</VisualStudioToolFile> 202