Tutorial by Topics: combinators

ParseResult Cases A ParseResult comes in three flavors: Success, with a marker as to the start of the match and the next character to be matched. Failure, with a marker as to the start of where the match was attempted. In this case the parser backtracks to that position, where it will be when...
Although combinators have limited practical use, they are a useful tool in education to understand how programming is fundamentally linked to logic, and how very simple building blocks can combine to create very complex behaviour. In the context of Julia, learning how to create and use combinators...

Page 1 of 1