Wiican

Simple wiimote usage assistant and mapping manager

Skip to: Content | Sidebar | Footer

Wiican mimetype and syntax validator

16 August, 2010 (10:52) | devpost | By: Felix

Mapping editor dialog

Mapping editor dialog

Two enhancements has been almost finished for Wiican 0.3: a mimetype for wiican mapping packages and a syntax validator.

With the goal of making easier to edit and share mappings Wiican will provide a mimetype that allows to edit and execute a mapping from the mapping package directly. As you can see, in the new mapping editor dialog, there’s a toggle button to execute/stop the current mapping.

Mapping package mimetype

Mapping package mimetype

Wiican mapping packages owns their own mimetype icon. The default behaviour opening mapping packages it’s to display the mapping editor dialog where you can modify, execute and even save changes.

The other mayor changes its the syntax validator. Recently i contacted with L. Donnie Smith, the cwiid guy, asking for a wminput syntax validator. L. Donnie tolds me to build it from the wminput lexer/parser (coded in lex – yacc). After some tests i decided to code it in pure python using python-ply, the lex/yacc a python implementation, using wminput grammar. I think the original wminput grammar wasn’t coded thinking in on-the-fly validation, and some errors are not recognized so well. It’s functional now but it needs to be evolved.

I dedicate this post to L. Donnie for his help that made the validator possible.

VN:F [1.8.1_1037]
Rating: 9.6/10 (5 votes cast)
Wiican mimetype and syntax validator9.6105
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • BarraPunto
  • Bitacoras.com
  • FriendFeed
  • Identi.ca
  • LinkedIn
  • Meneame
  • Slashdot
  • Twitter

Write a comment