marpa Questions

2

Solved

The documentation of Perl's Marpa parser contains the following section about tainted data: Marpa::R2 exists to allow its input to alter execution in flexible and powerful ways. Marpa should not...
Incurious asked 10/11, 2015 at 12:46

2

Solved

I'm implementing a new DSL in Marpa and (coming from Regexp::Grammars) I'm more than satisfied. My language supports a bunch of unary and binary operators, objects with C-style identifiers and meth...
Roos asked 24/11, 2014 at 16:47

1

I know Perl's "Marpa" Earley parser has very good error reporting. But I can't find in its documentation or via Googling whether it has error recovery. For instance, most C/C++ compilers have err...
Pallor asked 6/9, 2014 at 7:55

1

Solved

I am using latest release of marpa::r2 (Marpa-R2-2.065_002) and it seems to eat all memory very fast. I wrote the bellow script to test it. use strict; use warnings FATAL => 'all'; use Marpa::R...
Amoral asked 28/7, 2013 at 20:48

1

Solved

Related to my earlier question about case-insensitive keyword matching using regular expressions. Is it possible to match strings case-insensitively in Marpa? If so, how? Suppose I have the gramm...
Unweave asked 8/7, 2013 at 15:55

1

Solved

I have a rather large Marpa grammar (for parsing XPath), and I ran into a problem with tokenization. I created a minimal breaking example below: use strict; use warnings; use Marpa::R2; my $gramm...
Savdeep asked 20/6, 2013 at 0:51

1

Solved

Can the existing Marpa parser be used to improve parsing of Perl 5 (e.g., replace all or chunks of existing Perl interpreter's parser)? I am asking on a theoretical level, e.g. ignoring practical ...
Marcello asked 7/5, 2013 at 20:6
1

© 2022 - 2024 — McMap. All rights reserved.