[antlr-interest] parametrized c# parser class
sam at tunnelvisionlabs.com
Mon Apr 23 04:11:02 PDT 2012
The CSharp2 and CSharp3 targets always generate generic classes. I've even
managed to get the CSharp3 target to generate a parser that used a value
type (struct in C#) for the token type without any boxing/unboxing involved.
I'll need more details about what you're trying to do to be more specific.
Owner, Lead Developer
From: Costa Basil [mailto:costa_basil at yahoo.ca]
Sent: Monday, April 23, 2012 2:06 AM
Subject: [antlr-interest] parametrized c# parser class
Using the cshap3 target, is it possible to generate a parametrized c# parser
class? Something like:
public class MyParser<T> and so on.
I also want to have some non-terminal attributes of type T.
More information about the antlr-interest