Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 2.76 KB

File metadata and controls

53 lines (29 loc) · 2.76 KB
graph LR
    NyanParsingUnit["NyanParsingUnit"]
    ImportTree["ImportTree"]
    NyanObject["NyanObject"]
    NyanMember["NyanMember"]
    NyanParsingUnit -- "Creates" --> NyanObject
    NyanParsingUnit -- "Uses" --> ImportTree
    NyanObject -- "Contains" --> NyanMember
Loading

CodeBoardingDemoContact

Details

One paragraph explaining the functionality which is represented by this graph. What the main flow is and what is its purpose.

NyanParsingUnit

The NyanParsingUnit is the core engine for processing .nyan files. It is a C++ component responsible for both lexical analysis and parsing of the Nyan language. It reads the raw .nyan text, processes it, and directly creates NyanObject instances in memory, effectively acting as both a parser and a factory. This integrated approach is efficient for handling the project's data-driven architecture.

Related Classes/Methods: None

ImportTree

The ImportTree manages the complex web of dependencies between .nyan files. It builds a directed graph of imports, ensuring that all required data is loaded and available before it is used by the engine. This is critical for maintaining a modular and scalable data-driven architecture.

Related Classes/Methods:

NyanObject

This is the in-memory Python representation of a Nyan entity. It stores the data and relationships defined in the .nyan files, providing a structured and accessible way for the engine to interact with the game's data after it has been processed by the NyanParsingUnit.

Related Classes/Methods:

NyanMember

This component represents a single attribute or property of a NyanObject. It encapsulates the key-value pairs defined in the .nyan files, allowing for a flexible and extensible data model.

Related Classes/Methods: