[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Grammatica-users] GetParent question
From: |
Luc Morin |
Subject: |
RE: [Grammatica-users] GetParent question |
Date: |
Mon, 15 Dec 2003 09:04:11 -0500 |
Per,
If I may add an entry to the WishList for Grammatica, it would be nice to have
a native C# tool.
The very best would be to be able to integrate that native tool into VS.NET
such that classes get regenerated when the grammar changes.
I'm starting to look into VS.NET Custom Tools to see how this could be done,
but I'm not too sure how/if I could wrap the java tool.
Regards.
Luc Morin
Electrical Designer
Wulftec / M.J. Maillis Group
Ph.: (819) 838-4232 ext. 232
Fx.: (819) 838-5539
www.wulftec.com
www.maillis.gr
<< Avis de confidentialité >>
Ce courrier électronique ainsi que tous les documents qui y sont attachés sont
de nature privilégiée et confidentielle et sont destinés à l'utilisation
exclusive du ou des destinataire(s) ci-haut mentionné(s) . Toute autre personne
ayant reçu ce message par erreur est priée de bien vouloir s'abstenir de
divulguer, distribuer ou reproduire ce message et/ou son contenu. Si le
destinataire ne peut être rejoint ou vous est inconnu, nous vous prions
d'informer immédiatement l'expéditeur de ce présent message par retour de
courriel en plus d'effacer ce message et détruire toutes les copies. Merci.
<< Confidentiality Notice >>
This e-mail message and any files transmitted with it are confidential, may be
privileged and are intended for the exclusive use of the addressee(s). Any
other person is strictly prohibited from disclosing, distributing or
reproducing it. If the addressee cannot be reached or is unknown to you, please
inform the sender by return e-mail immediately, delete this e-mail message and
destroy all copies. Thank you.
-----Original Message-----
From: Per Cederberg [mailto:address@hidden
Sent: Monday, December 15, 2003 8:16 AM
To: address@hidden
Subject: RE: [Grammatica-users] GetParent question
On Sun, 2003-12-14 at 21:24, Luc Morin wrote:
> Thanks a lot for the clarification.
>
> Adding a Start Production did the trick, though at first I
> had put it after the property Production in the grammar
> file, so it wasn't "caught" at all by the Analyzer.
> Putting it before the Property Production solved it.
>
> I didn't think the order of appearance in the grammar was
> of any importance, but that is most certainly caused by my
> total lack of knowledge in this field :-)
Yes, normally the order of productions (grammar rules)
does not matter. However, Grammatica treats the *first*
production as the entry point for the whole grammar.
Hence causing problems when Start is not the first rule.
For tokens, though, the order has importance.
> Anyway, my Eplan 21 Format String analyzer now works like I
> intended at first, thanks to Grammatica !
I'm happy to hear that!
Cheers,
/Per
_______________________________________________
Grammatica-users mailing list
address@hidden http://mail.nongnu.org/mailman/listinfo/grammatica-users