Change to compile all grammars in directory, support some basic options