mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA

Home Page:https://ripes.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use `magic_enum` to replace various enum<-> name maps and better-enums

mortbopet opened this issue · comments

https://github.com/Neargye/magic_enum is an extremely easy-to-use library to generate names for enums which doesn't involve any macros.

Enum-to-name maps as well as better-enums usage can be found throughout ripes. These should instead be replaced with usages of enum class+magic_enum.

I'm interested in addressing this issue by replacing the current usage of Enum-to-name maps and better-enums throughout ripes with enum class+magic_enum.

If it hasn't been started yet, I would like to take on this issue.