Wiican mimetype and syntax validator
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.
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.


Debian packages (0.3.3)