Compiler architecture often follows an imperative layout. Different actions in the compiler are modeled as functions that
operate over defined data structures. In this work, we present existing methodologies for writing object-oriented language-processing
tools. As a contribution, we explore possibilities of writing a compiler based on recursive descent parsing in an object-oriented
way. As a proof of the concept, we present a parser generator that employs the presented constructs both in its internal structure
and in generated output.