[M3devel] UI, Trestle, native... Cocoa??
Mika Nystrom
mika at async.async.caltech.edu
Wed Sep 29 11:45:14 CEST 2010
Well last time I tried it, its Modula-3 support seemed rather buggy... but
sure, if it works.
Mika
=?UTF-8?Q?Dragi=C5=A1a_Duri=C4=87?= writes:
>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