jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Add exceptions to hydro #35

Closed jmeaster30 closed 1 year ago

jmeaster30 commented 1 year ago

Need to throw exceptions in certain cases when invalid bytecode is sent to the executor

The user should not be able to cause an exception to be thrown unless they hand write bad bytecode

Execution will completely stop when thrown

jmeaster30 commented 1 year ago

Added exceptions with a stack trace printer. Still have some panics around that should be exceptions but we don't have to get it all done at once