Regular Grammar In Compiler Design