vkottler / ifgen

An interface generator for distributed computing.
MIT License
1 stars 0 forks source link

Manually attempt to coalesce redundant struct and enum definitions from SVD #48

Closed vkottler closed 1 year ago

vkottler commented 1 year ago

Criteria could be something like:

Maybe we just don't coalesce and deal with some of the duplication. We do end up with a huge amount of code though...

vkottler commented 1 year ago

I think probably the right way to solve this would be to manually patch the SVD

vkottler commented 1 year ago

May just punt on this for now and leave the HAL as-is. Merged https://github.com/vkottler/ifgen/pull/49 as a break fix for the bug we introduced with groupName handling.

vkottler commented 1 year ago

Doing great on this so far with structs: https://github.com/vkottler/ifgen/pull/53.

As a bonus, here we provide meaningful name translations for what was previously value1, value2 ... (completely useless) to use a pruned version of the description.

Last thing we should do: eliminate purely duplicate enums. Should be do-able.

vkottler commented 1 year ago

That's complete, just awaiting merge now.