[ 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…
[ 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,…
[ 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:
…