h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
bh=1fYpmmlZezspzb8lqefBBqwkTzqTfK+DoEkhA+8O3r8=;
b=GxRd3MWAEcpzUGzDDg0i0qIR2TWH72xOjdmSs9Odmyri47WC1sIQ0N8ciFk1mqIHs1sgolwYcU0mQc42/lX5W/0csaLs/0qbBTYPN/yNSCyUMsHqujttL2qpOk6frCiGU153YBal6maeKIesg+7eUazxbYTQdNgJixzrwTkReXY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=beta;
h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
b=Lu1dYDtSurdd8R4F6nOGLMsa8QPa5ATA91+OLDiCkEdloQu7hVa9jvaF7snfvqRyTYHpOkL9O0tEqLK5Vu+GLecd51LRiGhfIEY6R4cgkGo3E2SN+emaoM37Qh608Vx3j1r4mApYjj6LqmWsPC0VvNdogrn7RQS+w/IITC8NE7w=
Received: by 10.67.25.6 with SMTP id c6mr1412140ugj.1193607512999;
Sun, 28 Oct 2007 14:38:32 -0700 (PDT)
Received: by 10.67.22.20 with HTTP; Sun, 28 Oct 2007 14:38:32 -0700 (PDT)
Message-ID: <5f27691c0710281438u5245a0e6m961d6013c6f4c3db at mail.gmail.com>
Date: Sun, 28 Oct 2007 14:38:32 -0700
From: "codepilot Gmail Account" <codepilot at gmail.com>
To: EUforum at topica.com
Subject: Re: C to EU Translator
In-Reply-To: <1032536536-1463792638-1193598966 at boing.topica.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_472_2774155.1193607512988"
References: <1032536536-1463792638-1193598966 at boing.topica.com>
------=_Part_472_2774155.1193607512988
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hmm. Maybe I should make it do macros and structures? Good idea! I have
already done COM. I know that macros can do a lot of things, should they
turn into functions? At some point a full blown C to Euphoria translator
needs to be made, because made H files have things that aren't as cut and
dry as a simple specification of call point entries/types/constants. Many of
the macros do a lot of work precompile that would make much sense in run
time, in euphoria as functions. And I really can't think of a good way to do
structures, maybe some ideas would be good.
On 10/28/07, Chris Bensler <guest at rapideuphoria.com> wrote:
>
> ============ The Euphoria Mailing List ============
>
>
> posted by: Chris Bensler <eu at creat?vep?rtal.ca>
>
> c.k.lester wrote:
> >
> > What about the library from Daniel Kluss?
> >
> > <a href="http://www.rapideuphoria.com/h_to_e.zip">
> http://www.rapideuphoria.com/h_to_e.zip</a>
> >
> > I think Matt has something like that in wxEuphoria, too.
>
> h_to_e does not produce a 100% translation. Ideally a 1:1 translation.
> Namely it only generates constants and minimal function wrappers.
> It doesn't handle structures or macros, etc... IIRC.
> I haven't seen Matt's. Maybe he can comment.
>
> What I would like to see is a tool that will allow us to generate Euphoria
> wrappers for C API's
> with which we can directly use the original documentation and not have to
> port _anything_ by hand.
> The translations should be as accurate to the original as possible.
>
> Chris Bensler
> Code is Alchemy
>
> --^----------------------------------------------------------------
> This email was sent to: codepilot at gmail.com
>
> EASY UNSUBSCRIBE click here: http://topica.com/u/?b1dd66.bTRIN1.Y29kZXBp
> Or send an email to: EUforum-unsubscribe at topica.com
>
> For Topica's complete suite of email marketing solutions visit:
> http://www.topica.com/?p=TEXFOOTER
> --^----------------------------------------------------------------
>
>
------=_Part_472_2774155.1193607512988
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hmm. Maybe I should make it do macros and structures? Good idea! I have
already done COM. I know that macros can do a lot of things, should they
turn into functions? At some point a full blown C to Euphoria translator
needs to be made, because made H files have things that aren't as
cut and dry as a simple specification of call point
entries/types/constants. Many of the macros do a lot of work precompile
that would make much sense in run time, in euphoria as functions. And I
really can't think of a good way to do structures, maybe some ideas
would be good.
<br><br>
<div><span class="gmail_quote">On 10/28/07, <b
class="gmail_sendername">Chris Bensler</b> <<a
href="mailto:guest at rapideuphoria.com">guest at rapideuphoria.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">============ The Euphoria
Mailing List ============<br><br><br>posted by: Chris Bensler <eu at
creat?vep?rtal.ca>
<br><br>c.k.lester wrote:<br>><br>> What about the library from
Daniel Kluss?<br>><br>> <a
href="<a
href="http://www.rapideuphoria.com/h_to_e.zip">http://www.rapideuphoria.com/h_to_e.zip</a>">
<a
href="http://www.rapideuphoria.com/h_to_e.zip">http://www.rapideuphoria.com/h_to_e.zip</a></a><br>><br>>
I think Matt has something like that in wxEuphoria, too.<br><br>h_to_e
does not produce a 100% translation. Ideally a 1:1 translation.
<br>Namely it only generates constants and minimal function
wrappers.<br>It doesn't handle structures or macros, etc...
IIRC.<br>I haven't seen Matt's. Maybe he can
comment.<br><br>What I would like to see is a tool that will allow us to
generate Euphoria wrappers for C API's
<br>with which we can directly use the original documentation and not
have to port _anything_ by hand.<br>The translations should be as
accurate to the original as possible.<br><br>Chris Bensler<br>Code is
Alchemy<br><br>
--^----------------------------------------------------------------<br>This
email was sent to: <a
href="mailto:codepilot at gmail.com">codepilot at gmail.com</a><br><br>EASY
UNSUBSCRIBE click here: <a
href="http://topica.com/u/?b1dd66.bTRIN1.Y29kZXBp">
http://topica.com/u/?b1dd66.bTRIN1.Y29kZXBp</a><br>Or send an email to:
<a
href="mailto:EUforum-unsubscribe at topica.com">EUforum-unsubscribe at
topica.com</a><br><br>For
Topica's complete suite of email marketing solutions visit:
<br><a
href="http://www.topica.com/?p=TEXFOOTER">http://www.topica.com/?p=TEXFOOTER</a><br>--^----------------------------------------------------------------<br><br></blockquote></div><br>
------=_Part_472_2774155.1193607512988--
|
Not Categorized, Please Help
|
|