Closed qkzk closed 2 years ago
See #61
It allows us to stop parsing after a delay while still catching errors.
Parsing a file shouldn't be able to crash the main application.
Communicating with the parser is done through a shared dict, populated with the result or errors.
Since there's already a parser module in standard library I moved the parser one step further.
parser
It must be imported with from qcm_parser.parser import ParseQCM.
from qcm_parser.parser import ParseQCM
See #61
Parser is now called as a multiprocess process.
It allows us to stop parsing after a delay while still catching errors.
Parsing a file shouldn't be able to crash the main application.
Communicating with the parser is done through a shared dict, populated with the result or errors.
Parser is in own package called qcm_parser : github, pypi
Since there's already a
parser
module in standard library I moved the parser one step further.It must be imported with
from qcm_parser.parser import ParseQCM
.