9 Apr 2009 19:57
autogenerating wxc from wxWidgets Doxygen output?
Hi everybody, I've recently been thinking about ways we would make the wxhaskell installation process less painful. My desire is for the "cabal install" part of the process to be completely painless. Right now, the wxcore process is slow, complicated and doesn't work for the user package database (which means you can't just cabal install any old program that uses wxhaskell). What I hope we can do is to segregate all the slow and painful stuff into C land (using standard stuff like autotools), keeping the Haskell-y bits nice and smooth. I think this will reduce the net pain because then people can just think in terms of (1) installing all the backend stuff like wxWidgets and (2) cabal install. A second desire would be for us to get rid of our wxc code altogether and move it to its own project? WXC is shared by wxHaskell, wxOcaml and wxEiffel, but we all have our own variants of the code. There was a wxc project, but it seems to have gone dead. I've remarked on #wxwidgets that it would be great if the wxWidgets team to take over the WXC project so that it would be more actively maintained. This is where Kevin Ollivier of wxWidgets pointed out something interesting: in the current wxWidgets trunk, it should be possible to automatically generate the C bindings from the Doxygen XML output. In fact, he has already done something similar for Python, metadata to Python objects: http://trac.wxwidgets.org/browser/wxWidgets/trunk/docs/doxygen/doxymlparser.py(Continue reading)
I'll note that in the body of my message, I only cut and paste a small
extract of the output. Maybe this is what Mads was referring to?
--
Eric Kow <
RSS Feed