[antlr-interest] Status of C#?

Johannes Luber jaluber at gmx.de
Wed Oct 10 13:02:08 PDT 2007


Jim Idle wrote:
> It seesm that the runtime binary that was working (for me at least)
> has gone,

Ter deleted them.

> so I built the C# runtime from the source code that was there.
> However the generated code now seesm to complain that
> followingStackPointer_ does not exist in the current context.
>
> Before I revert to the previous version, does anyone know why this
> might suddenly be the case or is it just that the C# .sln for VS2005
> that is now in the depot is no quite up to scratch, or something else
> altogether?

I've put new versions of some project files up, which finally use
relative paths and have the NET_2_0 symbol defined in case of the the VS
2005 files. I don't have VS 2003, so I didn't enter the symbol NET_1_1
into the build context of that solution. This isn't probably the cause
of your problem, as the treated classes aren't referenced by runtime
itself, but only by generated parsers. Anyway, the solution file is
still at revision one and hasn't changed in my local workspace. The
project works otherwise fine on my notebook.

> Actually, the previous version does work perfectly. It seems that
> there is now something called ParserSharedState in which the fsp is
> kept, but it is either not inherited or not public enough for the
> generated code to use it. Is the current code supposed to be usable
> with the source code based runtime, or is it in some quasi-state at
> the moment?

What is FSP? The source code itself should work as well the 3.0 version,
as far my tests tell me so far. ParserSharedState isn't mentioned in one
single file of the entire workspace and otherwise unknown to me. Can you
find out which file exactly doesn't work at the current revision for you?

Johannes


More information about the antlr-interest mailing list