Re: Using Beanshell as an expression evaluator
Brent Easton <[email protected]> Mon, 23 Jun 2008 18:14:39 -0700 (PDT)
| Newsgroups | gmane.comp.java.beanshell.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Alexey, Alexey Zinger wrote: > > Is there a reason you couldn't use your extended NameSpace object at > runtime to check for any unretrieved variables? I'm not familiar with > your project's specifics, but I can't imagine any reason you couldn't do > this. Is there something your application knows at expression "compile" > time it doesn't know at "run" time? Yes, that is exactly what I described earlier with the custom getVariableImpl implementation to keep track of undefined variables. I have a basic expression evaluator working quite well now. I had used JEP before which explicitly handles undefined variables for you and provides you with a list of them, so I had assumed something like this would be a standard feature of bsh. Thanks for your comments, Brent. -- View this message in context: http://www.nabble.com/Using-Beanshell-as-an-expression-evaluator-tp18059723p18081741.html Sent from the BeanShell - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php