[antlr-interest] C# Tool on *nix Platforms

Sam Harwell sharwell at pixelminegames.com
Tue Mar 29 08:40:08 PDT 2011


Hi Justin,

It's supposed to be compatible, but I don't have a test setup here for it.
I'll do a check for path characters and hopefully that takes us a step
closer. :)

Do you mind if I send you an intermediate build to test out for me?

Sam

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Justin Holewinski
Sent: Tuesday, March 29, 2011 9:42 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] C# Tool on *nix Platforms

Is the C# tool available on the antlr.org website (C# 3 runtime
distribution) supposed to be compatible with Mono on *nix platforms?  When
executed on Mac OS X and Linux, the tool fails to find the .stg files for
any language, and it seems to be an issue in AntlrTool.cs, line 127:

TemplatesDirectory = Path.Combine(ToolPathRoot, @"Codegen\Templates");

On *nix platforms, the use of a back-space character here is invalid.  An
extra Path.Combine call here should fix the issue.  However, the solution
does not build with Mono's xbuild so I am unable to test it.

If this tool is known to be incompatible with Mono on *nix, are there any
future plans to add compatibility?

-- 

Thanks,

Justin Holewinski

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list