Parser combinator library for Ruby inspired by Haskell's Parsec

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 #library https://rubyonrails.ba/single/parser-combinator-library-for-ruby-inspired-by-haskell-s-parsec

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles