Input Buffering In Compiler Design