[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Grammatica-users] Question about grammatica
From: |
MANSION, James, FM |
Subject: |
RE: [Grammatica-users] Question about grammatica |
Date: |
Wed, 24 Nov 2004 08:54:52 -0000 |
> I don't know if this helps you in any way, but it's hard to be more
specific without more details... :-)
Well, it does confirm things I guess.
In practice I think (err, hope!) my interpreter will be OK: once I added the
tree reduction so that (in terms of the example) I reduce:
Expression
Term
Factor
Atom
NUMBER
to
Expression
NUMBER
I don't have very big expression trees. (My grammar is defining criteria
for monitoring data and generating alerts.)
I'm going to generate plenty of generation 0 garbage, but I'll wait and
instrument the process before losing any sleep.
I'm thinking that the framework should be easy to fix to add a
<grammar>Visitor class that just does the recursive call. I can
cut-n-paste most of the generation of the Analyzer after all. ;-)
James
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312.
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority
This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The Royal
Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
http://www.rbs.co.uk/CBFM
http://www.rbsmarkets.com
********************************************************************************