Chris-Johnston / Easier68k

Work In Progress - A Python M68k assembler and simulator.
https://chris-johnston.me/Easier68k/
MIT License
15 stars 6 forks source link

Add support for log file generation #99

Open Chris-Johnston opened 6 years ago

Chris-Johnston commented 6 years ago

This should add support for generating a log file similar in format to the one that easy68 generates.

As for implementation, I think that we should add an argument to automated execution that specifies some flag to be true. (use_logging = True) When this is set, it would generate a list of objects containing log information at each step of the execution. When execution finishes, it should write this to an output device (have a way to specify console or a file?).

This could then be used for generating a diff between expected and actual input.