Wednesday, September 20, 2017

Ugh YAML

So apparently I'm still a Java n00b. I spent all night trying to add SnakeYaml to my intfiction engine. Then realized Oh! I have to add the .jar to my manifest. Hopefully no one was watching that embarrassing episode.
I got it to work and created a test file. It is so much easier defining games in YAML! Then it was time to parse it. Well dealing with YAML is a whole different world from XML. What a nightmare. I get a YAML Object back but so far cannot for the life of me parse it. So I thought maybe I could convert that Object to an XML doc, then I could reuse my XML parser. No luck. After a couple of hours of this I decided to shelf the conversion, I'll deal with YAML later.
Sad.

No comments:

Post a Comment

From Shotcut to Kdenlive

So I've been using Shotcut for a while now, for my YouTube videos... and music videos. I love the application. Slicing clips, doing fade...