[M3devel] UI, Trestle, native... Cocoa??

Dragiša Durić dragisha at m3w.org
Wed Sep 29 09:55:03 CEST 2010


Why don't use swig?

Ref manual route is sanest, escaping all .h mumbo jumbo, but it's also
with most work involved...

On Wed, 2010-09-29 at 00:50 -0700, Mika Nystrom wrote:
> My advice would be not to parse C at all.  Just translate the
> reference manual's
> specs into some specification language (I use Scheme or Modula-3 but
> you could
> use XML) and generate glue code in both C and Modula-3.  It's a lot
> saner...
> you can use your regex translation machine the first time of course,
> but then
> maintain the linkage in a language that actually specifies things
> properly.
> 
> 
-- 
Dragiša Durić <dragisha at m3w.org>




More information about the M3devel mailing list