[antlr-interest] C# Tool on *nix Platforms
Justin Holewinski
justin.holewinski at gmail.com
Tue Mar 29 07:42:23 PDT 2011
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
More information about the antlr-interest
mailing list