Douglas Milewski (dacuteturtle) wrote,
Douglas Milewski
dacuteturtle

Coding Fun

I passed a hurdle in my new perl script last night. I worked out how to identify the monster types of all the monsters. This was difficult, as the monster type has no easy "tag" to identify it, and shifts location in the table. However, if I search for "Hit Dice:", then I have a relative position.

I tested the script last night. Pearl takes a few hundred pages of text and puts them into a single variable. Do lots of operations. Split the varible on the newline and form an array. Do operations on the array. Dump everything do disk.

Phew. I adore perl and regular expressions.

I've also been playing with JEdit. This is a java based scriptable editor. Yay fun. Without knowing what I was doing, it took me 45 minutes to record a macro, learn how to edit a macro, and come out with a macro that converts HTML tables to Wiki format. Fun.
Subscribe

  • Weekend

    Laundry. Bread. You know the drill. Aggie was over, playing with my daughter all day and generally aggravating mayhem. My daughter has been tearing…

  • Weekend Wrap

    In baking, I made bread, mini cinnamon rolls, and chocolate chip cookies. Several times over the weekend, the over didn't come up to temperature…

  • Snow in March

    Of all things, a major snowstorm in March. It's not deep for us, but there's more than enough slush and ice to go around. Getting to work proved easy…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments