January 2013 Archives

A language for writing languages

[ This is cross-posted from the new home of the Ocean of Awareness blog. ] Marpa::R2's Scanless interface is not yet two weeks old, but already there are completed applications. Significantly, two of them are for work.

A JSON Parser

The non-work-rela…

Making DSL's even simpler

[ This is cross-posted from the new home of the Ocean of Awareness blog. ] In a previous post, I described a method of writing powerful domain-specific languages (DSLs), one that was simpler and faster than previous approaches. This post takes things significantly further.

The approach described in the previous post was not itself directly DSL-based,…

Announcing Marpa's Scanless interface

[ This is cross-posted from the new home of the Ocean of Awareness blog. ] Marpa::R2's Scanless interface is now out of beta and available in full release on CPAN. This interface allows Marpa to be used without the need to create a separate lexer (scanner), and increases Marpa's level of "whipitupitude". Here's what a simple calculator looks like in the Scanless interface: …

About Jeffrey Kegler

user-pic I blog about Perl, with a focus on parsing and Marpa, my parsing algorithm based on Jay Earley's.