On Wed, 2009-04-08 at 13:59 +0100, Eric Kow wrote: > Whoops, maybe it's not a good idea to apply this... > > I was trying to get rid of external definitions like this > > - wxEVT_COMMAND_BUTTON_CLICKED : INTEGER is > > - external "C use %"ewxw_glue.h%"" > > - alias "expEVT_COMMAND_BUTTON_CLICKED" > > - end > > But not constants like these > > > - wxTR_EDIT_LABELS: INTEGER is 512 > > - wxTR_ROW_LINES: INTEGER is 1024 > > - wxTR_HIDE_ROOT: INTEGER is 2048 > > - wxTR_HAS_VARIABLE_ROW_HEIGHT: INTEGER is 128 > > Sorry for the noise. > > But since I'm writing another message to the list, how about using > Benedikt Huber's language-c module to parse the wxWidgets includes > files rather this handwritten Eiffel layer of constants? >
I link to Huber's langauge-c http://hackage.haskell.org/cgi-bin/hackage-scripts/package/language-c for those who want to check it out. Anyway, can we do with a C parser? Won't we need a C++ parser? /Mads > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel