Tim Fennell wrote: > Hey, > > Does anyone on this list have experience writing parsers in Java? To > give a little background to that question, I'm considering (and have > ... > > In fact it'd probably just be a subset of the new Unified EL grammar > to be consistent. Anyone have good suggestions on the easiest way to > create a parser for an EL? > > -t > Tim, Why not just use the built in EL parser? If I remember correctly, when I was looking into it for expression validation it looked trivial to use your own context. You'd just have to create a VariableResolver to pass into ExpressionEvaluator.evaluate(). It looks like the VariableResolver receives an identifier and returns an Object.
Aaron ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
