[antlr-interest] Should I contribute working example code for CSharp3 target?

Voelkel, Andy andy.voelkel at plantronics.com
Mon Oct 24 14:44:49 PDT 2011


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:lizhipeng at gmail.com]
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 privacy at plantronics.com, 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 privacy at plantronics.com, 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.


More information about the antlr-interest mailing list