[stringtemplate-interest] Using StringTemplate and ASTFrame
inANTLR in C#
open.zone at virgin.net
Fri Sep 1 07:32:50 PDT 2006
What version of StringTemplate are you using (you mention trying to build
2.2 in your post)?. If possible, use the latest version - 2.3b7 (or is it
2.3b9?)...they are stable despite eing labelled as betas.
Only issue I can remember is that 2.3b7+ are strong named assemblies.
The best way to contact me is via the list/forum. My time is very limited.
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of kototama
Sent: 26 August 2006 22:45
To: stringtemplate-interest at antlr.org
Subject: [stringtemplate-interest] Using StringTemplate and ASTFrame inANTLR
I am using ANTLR 2.7.6 in C# for a compiler and StringTemplate.
I used the antlr.runtime.dll delivered with StringTemplate I've got the
following error :
" 'antlr.collections.AST' is defined in an unreferenced assembly. You should
reference the assembly ' antlr.runtime, Version=18.104.22.168, Culture=neutral,
When I use my own version of antlr.runtime.dll I have this error a
TypeInitializationException here :
StreamReader rd = new StreamReader(templatePath_ + "/CCode.st");
template_ = new StringTemplateGroup(rd); // <--- here
since StringTemplate expects this dll 'antlr.runtime, Version= 22.214.171.124
<http://126.96.36.199> , Culture=neutral, PublicKeyToken=d7701e059243744f'
I tried to build my own version of StringTemplate 2.2 by referencing my own
antlr.runtime.dll but then I've got this error :
'antlr.ASTPair' does not contains a definition for 'GetInstance' (like if
stringtemplate was built for ANTLR 2.7.5 ?!)
I really need your help! Thanks in advance :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the stringtemplate-interest