OpenVicProject / OpenVic-Dataloader

Dataloader submodule for OpenVic that is responsible for parsing both Paradox Victoria 2 data files and custom OpenVic data files.
MIT License
9 stars 2 forks source link

Overhaul Dataloader Parser #7

Closed Spartan322 closed 1 year ago

Spartan322 commented 1 year ago

Add proper headless binary construction Add Error and Warning structs to Parser Add FileNode pointer getter to Parser Change all char8_t* and const char8_t to const char* in Parser Add Parser move operators and Parser deconstructor Add BufferHandler PIMPL object to Parser Add UTF-8 file Warning to v2script Add proper Grammar value retrieval Add AbstractSyntaxTree for v2script data parser Fix wrong environment reference for headless construction in SConstruct Add error retrieval Add BasicCallbackOStreamBuffer for callback streaming Add CallbackStreamBuffer for char Add CallbackWStreamBuffer for wchar_t Add BasicCallbackStream Add CallbackStream for char Add CallbackWStream for wchar_t Add grammar for events and decisions Add event_parse to Parser Add decision_parse to Parser Add .clang-format Ignore dirty lexy module Add CSV parser and grammar Add BasicParser and BasicBufferHandler to reduce code reduplication

Should probably test the event_parse and decision_parse work correctly.

Supercedes #6