luaconfig: Reworked lua config for Parser based on previous refactor