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

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

  (email not shown publicly)
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [], and here [] too, I ramble randomly in my philosophical blog [] and my other blog []. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Wednesday May 12, 2004
01:11 PM


[ #18715 ]
I'm forging ahead with my attempt to parse M:tG cards (I know, bad idea.) I realized I needed a data serialization language, and decided on YAML.

If I get more serious about this, I may need to work on the meta-problem -- I can write stuff to handle specific card powers, but new ones will no doubt be created, and any changes in word usage by Wizards would require significant changes in the code. What I'd really like to do is create something that parses the power, determines if there's a cost and a side effect, and tries to write the attribute-grabbing code for me.

And don't get me started on powers. I could understand it if they were using it for compression purposes -- i.e., that 'flying' actually meant that the card wouldn't include the rules text for 'flying'. The cards are printed with the text that could be removed. None of the powers have been so significant that they could not have just left the rules off there, and yet the rules are there. It's as if Wizards got bored and decided they needed lots more words on each card.

Rant over. Once I've got all the current powers parsing properly, I'll push prodigiously to produce powerful potential power parsing.

Also, I'll add something to rate cards on an arbitrary complexity scale.

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.