Videos tagged with Parser




Lone Star Ruby Conf 2008: Grammar - A BNF-like Ruby DSL for Parsing

Lone Star Ruby Conf 2008: Grammar - A BNF-like Ruby DSL for Parsing

Posted in Conferences, Development

A Grammar is an object similar to a Regexp. It specifies an input pattern to match and it integrates well surrounding Ruby code because it is simply an object. Instead of specifying the “pattern” using operators in a string (or file like most other parsing packages), operators and other methods to create build larger Grammar objects from smaller ones. This results in a Ruby DSL that...

Tags: Conferences, Ruby, DSL, Parser, Confreaks, Lone Star Ruby Conf 2008, Grammar, BNF