Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #32826

Re: Write once C and forth structs

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Write once C and forth structs
Date 2014-08-02 13:47 +0200
Organization 1&1 Internet AG
Message-ID <lrij4s$5jc$1@online.de> (permalink)
References <lriebl$ms5$1@dont-email.me>

Show all headers | View raw


Hannu Vuolasaho wrote:

> Is there a way to write once structs for both C and forth? Or at least
> some automagic conversion from one to another way? I find it quite
> tedious and stupid to write twice them.
> 
> I'm using gforth.

Gerald Wodni has a swig plugin which converts C structs into equivalent 
Forth.  However, swig at the moment is a bit stale, he has his branch in a 
Mercurial repository, instead of a git branch at github.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Write once C and forth structs Hannu Vuolasaho <vuokkosetae@gmail.com> - 2014-08-02 13:25 +0300
  Re: Write once C and forth structs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-02 13:47 +0200
    Re: Write once C and forth structs Hannu Vuolasaho <vuokkosetae@gmail.com> - 2014-08-02 15:40 +0300
      Re: Write once C and forth structs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-02 19:08 +0200
    Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-02 20:47 -0700
      Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-03 21:03 -0700
        Re: Write once C and forth structs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-04 04:16 -0400
          Re: Write once C and forth structs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-04 11:39 -0500
            Re: Write once C and forth structs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-04 22:35 +0200
              Re: Write once C and forth structs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-05 12:33 +0000
                Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-05 20:31 -0700
                Re: Write once C and forth structs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-05 21:45 -0700
                Re: Write once C and forth structs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-05 21:45 -0700
                Re: Write once C and forth structs humptydumpty <ouatubi@gmail.com> - 2014-08-05 23:00 -0700
                Re: Write once C and forth structs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-06 16:38 -0400
                Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-06 17:18 -0700
            Re: Write once C and forth structs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-04 17:43 -0400
            Re: Write once C and forth structs Samuel DEVULDER <samuel-dot-devulder-at-laposte-dot-net> - 2014-08-05 08:26 +0200
              Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-05 20:23 -0700
                Re: Write once C and forth structs Samuel DEVULDER <samuel-dot-devulder-at-laposte-dot-net> - 2014-08-06 08:40 +0200
                Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-06 14:43 -0700
                Re: Write once C and forth structs Gerd Brix <gbrix@gmx.eu> - 2014-08-06 08:54 +0200

csiph-web