Support MSYS and MinGW without MSYS
Extract parser debug code to the separate file
Implement Perl interface for parser/validator