Commit Graph

11 Commits

Author SHA1 Message Date
Sasha Koshka 4780d9cc28 Fixed bug in file where it would report its location one step ahead 2022-08-18 01:35:46 -04:00
Sasha Koshka cce841f48e Add getters to File 2022-08-18 00:50:39 -04:00
Sasha Koshka 856d5763d3 Lexer tokens are now created by the lexer
This is so positional information can be accurately embedded into them.
2022-08-12 14:34:07 -05:00
Sasha Koshka 7914f0df45 Location now stores width instead of Error 2022-08-12 13:43:09 -05: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