The Syntax.Python.Parser module currently only exposes a parseFile function that returns a Maybe ModuleSpan, limiting its ability to report more detailed parsing errors. This limitation propagates to the parse function of the compiler, which combines parsing and compiling, too.
The
Syntax.Python.Parsermodule currently only exposes aparseFilefunction that returns aMaybe ModuleSpan, limiting its ability to report more detailed parsing errors. This limitation propagates to theparsefunction of the compiler, which combines parsing and compiling, too.