public static void main(String[] args)
	{
		if (System.in == null)
			return;
		Lisp lisp = new Lisp();

		LispParser cli = new LispParser(lisp,
				args.length > 0
				?	new StringReader(args[0])
				:	new InputStreamReader(System.in));
		while (true) {
			System.out.print("> ");
			try {
				System.out.println(lisp.eval(cli.read()).toString());
			} catch (EOFException e) {
				return; // done.
			}
		}
	}