lc-3-2 / lc32sim

LC-3.2 simulator
0 stars 0 forks source link

Use Defaults if No Configuration File Exists #6

Closed ammrat13 closed 1 year ago

ammrat13 commented 1 year ago

If the configuration file cannot be found, don't error out. Instead, just use the default values. Also, this PR updates flake.nix so that it builds.

sameer-s commented 1 year ago

Just to make sure - as-is, you're not getting any sort of exception when you don't have a config file, right? It just doesn't print out the values?

If so, all good - this is obviously an improvement, but just want to make sure there isn't anything else going on.

ammrat13 commented 1 year ago

As-is, I get an exception if no config file exists