Commit Graph

14 Commits

Author SHA1 Message Date
7914f0df45 Location now stores width instead of Error 2022-08-12 13:43:09 -05:00
2a7111e700 Colored error line/column numbers as well 2022-08-11 13:16:59 -05:00
dfa64f3c3d Added color to errors 2022-08-11 13:15:57 -05:00
9c1baf8216 Lexer can now tokenize
minus
decrement
return direction
separator
2022-08-10 14:18:28 -04:00
d43a2540cf Fixed error formatting column indicator 2022-08-10 14:08:04 -04:00
245798f33d Print warning when a tab is discovered where it shouldn't be 2022-08-10 01:22:53 -04:00
Sasha Koshka
c23413eedf Added print method to error 2022-08-09 20:12:33 -04:00
Sasha Koshka
a755fc9f41 Error handling is now done with a custom error in the file package 2022-08-09 02:25:45 -04:00
Sasha Koshka
3a0fc0d57c Added ReadString method to file 2022-08-09 01:13:49 -04:00
Sasha Koshka
47517d7139 Added ReadRune method to file 2022-08-09 01:07:14 -04:00
Sasha Koshka
3ba528509c Added licesnse 2022-08-09 01:02:03 -04:00
Sasha Koshka
c3a5b15049 Added Location struct
Its purpose is to carry error reporting information with it outside of files.
2022-08-03 13:40:00 -04:00
Sasha Koshka
64a8a2445a File is now capable of printing errors 2022-08-03 13:28:37 -04:00
Sasha Koshka
4d94e5738d Added file struct that satisfies io/fs.File
This will be used to abstract os.File and enable error reporting.
2022-08-03 12:11:59 -04:00