Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • This sounds like the start of something useful.

    If someone not a Haskell afficionado wishes to answer "What is a Attribute Grammar", the article at [] is of course quite concise and neutral. Although Luke's POD [] is a pretty good tutorial as is.

    Question. Do I understand that your AG class implements the synthetic and inherited Attributes for a data-structure already parsed and created by Parse::RecDescent or whatever? In which case -- pending a marriage of the two modules -- a pre-processor to extract P:RD

    # I had a sig when sigs were cool
    use Sig;
    • Thank you for the POD compliment, though I do think I need to rewrite it. I was in a coding mood, not a writing mood, when I wrote it. The AG modle works on any blessed data structure, actually, so yes, presumably P::RD already created it. I can see such a preprocessor coming in useful when I add structure specification, but at the moment, I don't think it would buy you anything. There is no redundant information there. A very simple preprocessor that would allow you to interleave an AG and a BNF may