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

Justin Holewinski justin.holewinski at gmail.com
Tue Mar 29 10:25:36 PDT 2011


On Tue, Mar 29, 2011 at 11:40 AM, Sam Harwell
<sharwell at pixelminegames.com>wrote:

> 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. :)
>

Awesome!

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

Sure, though I do not have much test material.  I do not have any concrete
grammars yet, so the best I could do is tell you if the tool runs for the
Antlr samples.


>
> 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
>
>


-- 

Thanks,

Justin Holewinski


More information about the antlr-interest mailing list