I just sent Terence 3 examples from his book, converted to the C# target. If you’d like, I can send you the same zip file
- Andy From: 李志鹏 [mailto:[email protected]] Sent: Saturday, October 22, 2011 9:53 AM To: Terence Parr Cc: Voelkel, Andy; antlr-interest Interest Subject: Re: [antlr-interest] Should I contribute working example code for CSharp3 target? me too, I have trouble at begin for C# too. On Sunday, October 23, 2011, Terence Parr wrote: sure. send me a zip. Ter On Oct 22, 2011, at 9:14 AM, Voelkel, Andy wrote: > Hi, > Thanks to the generous help from this list, I seem to have got over the worst > of the learning curve for the Antlr C# target. I've also started to notice > the logic in how the C# target deviates from the Java target, so I don't > think I'll have to pester the list with stupid questions quite so much going > forward. The C# target part of the learning curve has been for me much more > difficult than the Antr learning curve itself, mostly because there is a lot > of broken or out of date example code for the C# target floating around and > it is hard to know where to look for useful examples that do work properly. > Anyhow, I've converted all the "calculator" examples from the first section > of The Definitive Guide To Antlr to the CSharp3 target and they all seem to > work. If there is interest and if I know how to do it, I would be happy to > contribute them to the Antlr community. I'll probably continue to convert > more examples as I work my way through the book. > I have to laugh, because for all I know there are up to date examples for all > of these and I just don't know where they are! > I'd also be happy to contribute a few paragraphs on how the CSharp3 target > grammar files and test harness differ from the Java target. These might be > useful to newcomers such as myself since one generally loses "the beginners > perspective" over time and thing become obvious that might not be obvious to > beginners. > > - 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<http://www.plantronics.com>. > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address 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.
