No, as far as I know Antlr 3 will always produce code for ST3. ANTLR 4 will produce code for ST4 by default.
Sam -----Original Message----- From: Voelkel, Andy [mailto:[email protected]] Sent: Friday, October 28, 2011 1:11 PM To: Sam Harwell; 'ANTLR interest' Subject: RE: [antlr-interest] tool version mismatch for C# target?? Hi Sam, Is there a version or Antlr3.exe that produces code which uses Antlr4.StringTemplate? That would the ideal, I would think. - Andy -----Original Message----- From: Sam Harwell [mailto:[email protected]] Sent: Friday, October 28, 2011 10:52 AM To: Voelkel, Andy; 'ANTLR interest' Subject: RE: [antlr-interest] tool version mismatch for C# target?? Hi Andy, I just checked the Wiki and the downloads, and see the inconsistency. ANTLR.exe uses StringTemplate for code generation, but now only depends on ST4. I ended up removing ST3 from the Bootstrap download as a result. You can download ST3 as a separate download from the wiki: http://www.antlr.org/wiki/display/ANTLR3/Antlr3CSharpReleases Sam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Voelkel, Andy Sent: Friday, October 28, 2011 12:01 PM To: ANTLR interest Subject: [antlr-interest] tool version mismatch for C# target?? Hi, I'm starting to use the built in StringTemplate generation feature of ANTLR (see version below). It generates the following code near the beginning of the output file: using Antlr3.ST; using Antlr3.ST.Language; [System.CodeDom.Compiler.GeneratedCode("ANTLR", "3.4.1.9004")] But the version of StringTemplate I got with this same "release" is Antlr4.StringTemplate, not Antlr3.ST. How do I fix this up? - Andy ________________________________ CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain information that is confidential and/or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please DO NOT disclose the contents to another person, store or copy the information in any medium, or use any of the information contained in or attached to this transmission for any purpose. If you have received this transmission in error, please immediately notify the sender by reply email or at [email protected], and destroy the original transmission and its attachments without reading or saving in any manner. For further information about Plantronics - the Company, its products, brands, partners, please visit our website www.plantronics.com. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address ________________________________ CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain information that is confidential and/or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please DO NOT disclose the contents to another person, store or copy the information in any medium, or use any of the information contained in or attached to this transmission for any purpose. If you have received this transmission in error, please immediately notify the sender by reply email or at [email protected], and destroy the original transmission and its attachments without reading or saving in any manner. For further information about Plantronics - the Company, its products, brands, partners, please visit our website www.plantronics.com. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
