[antlr-interest] Assembly for Antlr.Runtime namespace

Dejas Ninethousand dejas9000 at gmail.com
Tue Jan 22 15:45:42 PST 2008


That directory structure did not exist in the jar; however, I downloaed
antlr-3.0.1.tar.gz source distro and found four .dll files in
/runtime/CSharp/bin/net-2.0 including antlr.runtime.dll.

After adding those dlls to my references list, I attempted to compile but
now get two errors:

Error    2    An object reference is required for the non-static field,
method, or property 'Antlr.Runtime.Debug.DebugParser.dbg'
C:\projects\AGLInterpExp\AGLParser.cs    52    59    AGLInterpExp
Error    3    An object reference is required for the non-static field,
method, or property 'Antlr.Runtime.Debug.DebugParser.dbg'
C:\projects\AGLInterpExp\AGLParser.cs    52    59    AGLInterpExp


that line (59) line is:

protected ITreeAdaptor adaptor = new DebugTreeAdaptor(dbg, new
CommonTreeAdaptor());

dbg does not appear to be defined as a field in surrounding ANTLRWorks
generated "AGLParser.cs" file.  Is it perhaps expecting that member to be
inherited from DebugParser but for some reason is not?

-- Dejas



On Jan 22, 2008 5:29 PM, Johannes Luber <jaluber at gmx.de> wrote:

> Dejas Ninethousand schrieb:
> > I have antworks-1.1.5.jar.  If I make a copy, change it to .zip, and
> > open it up where in the package structure would I find the .cs files
> > that define the Antrl.Runtime namespace?
>
> That's the theory. :) Go into code/antlr/main/runtime/CSharp to find the
> project files.
> >
> > If I can get that far I can probably build my own dll (I would imagine).
>
> There are only the .sln files for VS - the NANT build isn't working
> right now.
>
> Johannes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080122/d9efd6a5/attachment.html 


More information about the antlr-interest mailing list