[####] [antlr-interest] C# port of StringTemplate : small bug and
possible fix
Sarandos Steve
Sarandos.Steve at PBGC.GOV
Fri Mar 11 05:15:56 PST 2005
Thanks. I'll check into this and post a fix on antlr.org.
<<BTW out of curiosity, how is the C# port produced ??
Is it a manual port or a fully automatic process or a
mix (automatic + corrections)?>>
It's a combination. I tried to automate it as much as possible using
the Java-to-C# conversion tools provided by Microsoft. The tools get it
about 90% there and the rest requires some manual intervention.
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Gregory Sidier
Sent: Thursday, March 10, 2005 8:11 AM
To: antlr-interest at antlr.org
Subject: [####] [antlr-interest] C# port of StringTemplate : small bug
and possible fix
Hi,
The C# port of StringTemplate produces error output
when the "separator" construct is used.
Apparently the faulty code is in ASTExpr.cs[line 442]
and NoIndentWriter.cs[line 34] also needs a fix.
At these two places, the references to
System.IO.StreamWriter should be changed to System.IO.TextWriter.
I haven't checked if this problem occurs in the java
version.
Perhaps a patch was already issued, but i couldn't
find one.
BTW out of curiosity, how is the C# port produced ??
Is it a manual port or a fully automatic process or a
mix (automatic + corrections)?
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
More information about the antlr-interest
mailing list