Tiny Basic Interpreter...

 
class TBinterpreter {
  ...
  boolean factor() {
    if (number()) return true;
    if (var()) {
      Stak.push(Vars.get(
          (char)Stak.pop()));
      return true;
    if (nexToken == '(') {
      nexToken = Code.getChar();
      if (!expression())
        error("Expression expected");
      else if (nexToken == ')') {
        nexToken = Code.getChar();
        return true;}
      else error("Missing right paren");}
    return false;} // factor