Difference between revisions of "SoC Ideas Schema Validation2011"
SkeletonCrew (talk | contribs) (Copy paste from the old idea) |
(No difference)
|
Revision as of 09:37, 26 February 2011
This page is related to Summer of Code 2011 |
See the list of Summer of Code 2011 Ideas |
This is a Summer of Code 2011 Idea |
[edit] SoC Ideas Schemes
Sirp/Dave already added schemes to frogatto [1](another project he's working on). This game is also based on WML but not entirely the same as Wesnoth.
Mordante added a comment based, scheme like documentation[2] to the new widget code which he uses to generate wiki pages [3] with a small python tool.
The student will work on a comment based scheme definition that will be stored in the source code and extracted into scheme files. Preferably the scheme definition will be based on Mordante's work.
The schemes will first be implemented for the new gui since that code already has some validation and already has quite a bit of comment. The gui engine also uses it's own loading code which makes implementing the validation easier. Once that has been done more of the current engine will be converted.
The following demands are on the schemes :
* needs to be comment style in the source o use an extractor tool to generate the actual scheme files. o use an extractor tool to generate wiki documentation.
* Need to validate the WML and give useful error messages (the target audience are normal persons not programmers)
[1] http://code.google.com/p/frogatto/ [2] http://www.wesnoth.org/devdocs/canvas_8cpp-source.html [3] http://wesnoth.org/wiki/GUICanvasWML