Brainfold On Python, game development and everything

21Nov/07Off

Tasks, tools and tribulations

Inspired by Entity Crisis, I'm finally taking the plunge and converting my task scheduler to use generator-powered cooperative multitasking instead of normal functions. It should make both the task scheduler implementation and future task writing much more elegant. I'm also thinking of extending it later with threadable, networked and Stackless-based tasks. More on this as I get it done.

Good-ish news on the parser front: Dave Kuhlman released a new version of generateDS, which now succesfully parses the Collada schema, but the generated parser still fails to parse more complex Collada files, specifically transformation elements such as translate. I hope it's "just" a bug and not a missing feature. If it is, I just might contribute the missing features myself if needed and it's not too complex. In any case, this is promising.

I also started writing the C header parser using Pyparsing. It's easy enough to work with, though I wish its documentation was more decent and its interface cleaner and more Pythonic. Anyway, from the humble start it looks like it won't be too difficult a project for the small subset of C grammar I need it to understand. I already got it to recognize some preprocessor directives, now I just need it to do something with them, and then it's on to actual C grammar.

And I'm still waiting for Trac 0.11 to be released, and hoping it will be easier to install than 0.10, which I never could get to work on shared webhosting.

Share this blog post:
  • Digg
  • Facebook
  • Twitter
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.