▲ | fuzztester 4 days ago | |||||||||||||
>functional combinator libraries By that, do you mean parser combinators? | ||||||||||||||
▲ | derriz 3 days ago | parent [-] | |||||||||||||
Yes - but this was decades ago so my memory is hazy. It was with an early Haskell variant called Gofer - which had a nice feature which allowed using list comprehension notation with arbitrary monads - which for simple grammars produced very readable - even beautiful - parser code. But like with parser generators, once the grammar became complex, the beauty and simplicity disappeared. Actually I wish this generalization of list comprehensions had been taken up by Haskell or other languages. Haskell decided on the do notation while Python users these days seem to shun the feature. | ||||||||||||||
|