maw3193 / rustcamp

exercises for codethink's rust bootcamp
1 stars 0 forks source link

Session 5 homework #3

Closed maw3193 closed 1 year ago

maw3193 commented 1 year ago

Continuing the bft project, this time we're making the interpreter do things!

maw3193 commented 1 year ago

It might be more convenient for me to also implement a DecoratedProgram::from_file, but that'll need some more thought, because it could have an IOError, or a ParseError.

maw3193 commented 1 year ago

I think I've avoided needing to write a From impl for converting from a std::io::Error to a VMError, this might be because thiserror can automatically implement From when an error's Source is specified.