public static void process(java.util.Scanner scan,boolean stdin) {
		while(true)
		{
			if(stdin)
			{
				System.out.print(">");
			}
			if(!scan.hasNextLine())
			{
				break;
			}
			String code=scan.nextLine();
			if(stdin&&(code.startsWith("exit")||code.startsWith("quit")))
			{
				return;
			}
			try
			{
				if(!stdin)
				{
					System.out.println("input:"+code);
				}
				String[] split=Tokenizer.split(code);
				Parser parser=new Parser(new Scanner(split));
				Expression uex=parser.exp();
				if(verbose)
				{
					System.out.println("Result of parsing:");
					System.out.println(uex);
				}
				System.out.println("result===>"+uex.getValue());
			}
			catch(RuntimeException ex)
			{
				ex.printStackTrace();
			}
		}
	}