public static PValue compileVal(String expression)
throws CompilationException
{
try {
// Create a Parser instance.
Parser p = new Parser(new Lexer(new PushbackReader
(new StringReader("[foo] = " + expression + ";"), 1024)));
// Parse the input
Start tree = p.parse();
// get the expression and return it
FindLastExpression search = new FindLastExpression();
tree.apply(search);
return search.expression;