HuoLanguage / huo

interpreted language written in C
MIT License
213 stars 21 forks source link

Create error type for value struct #1

Closed incrediblesound closed 8 years ago

incrediblesound commented 8 years ago

Any function that encounters an error should set the type of the current value to error and set a string containing the error content onto that value. The execute function should check for this value and if found print it and halt execution.