|
From: | Elliman, David |
Subject: | [Grammatica-users] Passing through |
Date: | Mon, 14 Sep 2009 11:29:42 +0100 |
Hi,
I have an application deployed using grammatica - it's great thanks.
However we want to make use of an _expression_ evaluator internally (probably Flee - which itself uses grammatica!) So ideally we would like to have some "Evaluate" production that simply passes through to the other internal parser (by specifically invoking it on the ExitEvaluateProduction(….) handler that I would supply. The problem of course it that the reg exp is too wide; I had definedthe token PASS_THROUGH <<.+>> and now nothing works because it's too wide and capturing everything all the time. I know that the reg exps are context free WRT the productions which is leading to this but is there any other way to construct this pass through type functionality - other than upgrading our syntax to support everything supported in the internal parser?
Cheers, and thanks again
Dave
_______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive this e-mail in error, please advise immediately and delete the original message without copying, using, or telling anyone about its contents. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. This message does not create or change any contract. Royal Bank of Canada and its subsidiaries accept no responsibility for damage caused by any viruses contained in this email or its attachments. Emails may be monitored. RBC Capital Markets is a business name used by branches and subsidiaries of Royal Bank of Canada, including Royal Bank of Canada, London branch and Royal Bank of Canada Europe Limited. In accordance with English law requirements, details regarding Royal Bank of Canada Europe Limited are set out below: ROYAL BANK OF CANADA EUROPE LIMITED Registered in England and Wales 995939 Registered Address: 71 Queen Victoria Street, London, EC4V 4DE. Authorised and regulated by the Financial Service Authority. Member of the London Stock Exchange
[Prev in Thread] | Current Thread | [Next in Thread] |