[antlr-interest] Status of C#?

Jim Idle jimi at temporal-wave.com
Wed Oct 10 13:29:46 PDT 2007


That should have been RecognizerSharedState. IF you use the object browser
to look at the runtime assembly created by the VS2005 .sln file, you will
find that this is where the variable followingStackPointer (FSP) is not
kept. Hence the code generated by 3.0.1 cannot see it. I synced back to the
binary that was there before Ter deleted it, and it works correctly there
because followingStackPointer is held in the parser class.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Johannes Luber
> Sent: Wednesday, October 10, 2007 1:02 PM
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] Status of C#?
> 
> 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
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.6/1060 - Release Date:
> 10/9/2007 4:43 PM
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.6/1060 - Release Date: 10/9/2007
4:43 PM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071010/cdd9be0a/attachment.html 


More information about the antlr-interest mailing list