Add --compile option and lib/compile.ab. #267