Refactored error handling

Now uses base error class which has an abstract function for overiding how it is displayed to the console.
This commit is contained in:
Pasha Bibko
2025-05-05 15:44:59 +01:00
parent a16ce34c8b
commit 616ed1ca21
26 changed files with 340 additions and 243 deletions

BIN
example/Main.exe Normal file

Binary file not shown.

View File

@@ -1,12 +1,6 @@
func add(int a, int b)
{
return a + b
}
func main()
{
int a
a = 7834
int a @
int b
b = 6

BIN
example/main.obj Normal file

Binary file not shown.