Display parse errors as syntax error messages, together with the accompanyin source code. I.e.:
[syntax] ✖ --> path/to/file/generics.mamba:19:28
|
28 | def private fun_b(self => print "this function is private!"
| ^^ Expected an identifier, but found token '=>'
Relevant issues
Resolves #95
Summary
Display parse errors as syntax error messages, together with the accompanyin source code. I.e.: