Skip to content

Dynamically parse and include Enums.hpp from Geode's bindings#6

Open
Stazzical wants to merge 3 commits into
SpaghettDev:masterfrom
Stazzical:relative-geode-enums
Open

Dynamically parse and include Enums.hpp from Geode's bindings#6
Stazzical wants to merge 3 commits into
SpaghettDev:masterfrom
Stazzical:relative-geode-enums

Conversation

@Stazzical

Copy link
Copy Markdown

Title.

Removes the stale bundled enums.hpp file and modifies the BromaCodegen class to be able to dynamically find Enums.hpp from where the .bro file came from, and then parse it and add it to the generated .hpp file.

The parser mostly assumes the Enums.hpp has a sane syntax to not contain too much parsing for edge cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant