Parse a heredoc with Marpa

I already wrote that I’m quite interested in the things Marpa can do for writing parsers. The latest release of Marpa includes an addition that makes parsing strange languages even more possible. The new functionality allows you to control the parser from your own code while it doesn’t stop you from using the internal scanner. To try out this new functionality in Marpa I tried to write a parser for a small language with just one function and heredocs....

April 19, 2013