mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA
https://ripes.me/
MIT License
2.57k stars 274 forks source link

Refactor instruction definitions from macros to classes #302

Closed raccog closed 1 year ago

raccog commented 1 year ago

Draft branch for #301.

mortbopet commented 1 year ago

Tip: most editors can enable clang-format on save (e.g. VSCode with https://marketplace.visualstudio.com/items?itemName=xaver.clang-format). Then you'll never run into CI complaining about it!

raccog commented 1 year ago

I have clang-format enabled on save in Qt Creator but it wouldn't format rv_c_ext.h for some reason. I had to format it manually with the command lol. Anyways, should be all set now.