Parser enhancements: added support for multi-line input and comments.