Crafting Interpreters 6 months agoAnother possible solution is the usage of functional parsers (e.g.: [0]) and making use of some form of the ‘do’ notation. Each step makes its result available to all subsequent parsers.[0] https://hackage.haskell.org/package/parsec 0ThreadHN