Parser combinator library for Ruby inspired by Haskell's Parsec
01-Oct-2020 1922
This is a library used to define parsers by declaratively describing a syntax using what's commonly referred to as combinators. Parser combinators are functions that take parsers as inputs and/or return parsers as outputs, i.e. they combine parsers into new parsers.As an example, between is a combinator with 3 parameters: a parser for what's to the left, one for what's to the right, and lastly one for what's in-between them, and it returns a parser that, after parsing, returns the result of the in-between parser:.
Parser combinator library for Ruby inspired by Haskell's Parsec #ruby #rubydeveloper #rubyonrails #Parser #combinator #library #inspired #Haskell's #Parsec #library https://www.rubyonrails.ba/link/parser-combinator-library-for-ruby-inspired-by-haskell-s-parsec