Well, something more than Eliza/Doctor, but something less than ST/TNG Data. :)

I see it as a big challenge, yes. Just parsing the code fragments, let alone the English, would be daunting.

Okay, here's a limited subset that I think might be do-able.
  1. Ignore anything outside of <c> </c> or <code> </code> tags
  2. ignore anything that uses modules
  3. ignore anything that writes the filesystem
  4. ignore anything that uses filehandles other than STD*
  5. eval perl code
  6. ponder error message and/or output
  7. look through k-base for similar code structures and error messages
  8. suggest a list of nodes with code similar to the code near the failure that might work
Eventually, I'd like it to do more, and to be allowed to post its own responses to real nodes, but that would be a long way away. This limited subset would allow us to experiment with parsing, pattern recognition, and k-base building, and I believe it could be made to have real utility, at least for the newbie errors.

UPDATE: added exclusions #3 and #4

In reply to Re^2: An Unreal Perl Hacker! by samizdat
in thread An Unreal Perl Hacker! by samizdat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.