elf-edit
elf-edit copied to clipboard
Clean up and reorganize the code.
The code is very wet (not DRY) currently and there is some major low hanging fruit to making it easier to work on and understand.
One such area would be making a rendering system so that each line doesn't have to compare to offset and possibly optimizing rendering.
Separating into separate files is also probably appropriate (also the project structure should get committed some time).
A procedeural macro could be a nice way to DRY a bunch. Otherwise parsing and highlighting kindof have to stay wet.
Thats kindof complex for now though.