Re: [Vala] Rv: C to Vala

2012-09-21 Thread Gilzad Hamuni
Datum: Thu, 20 Sep 2012 12:09:39 -0700 Von: Eric Gregory e...@yorba.org An: Mario Daniel Ruiz Saavedra desideran...@rocketmail.com CC: Vala List vala-list@gnome.org Betreff: Re: [Vala] Rv: C to Vala On Thu, Sep 20, 2012 at 12:01 PM, Mario Daniel Ruiz Saavedra desideran

Re: [Vala] Rv: C to Vala

2012-09-21 Thread Mario Daniel Ruiz Saavedra
...@gmx.net Para: vala-list@gnome.org Enviado: Viernes, 21 de septiembre, 2012 10:33:38 Asunto: Re: [Vala] Rv: C to Vala If I understand correctly, that approach requires an intermediate bytecode either from Java or from .NET to finally create sourcecode. Alas, in the OP's case the best we can get would

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Mario Daniel Ruiz Saavedra
. - Mensaje original - De: Landon Blake sunburned.surve...@gmail.com Para: Mario Daniel Ruiz Saavedra desideran...@rocketmail.com CC: Enviado: Jueves, 20 de septiembre, 2012 11:38:53 Asunto: Re: [Vala] Rv: C to Vala Mario: I've just started using Vala, but I think I can take a stab at your questions

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Mario Daniel Ruiz Saavedra
: Re: [Vala] Rv: C to Vala It would be possible to take a program that translates English to Spanish and make it translate Spanish to English, but I think it would take some major tweaking. I'm sure the same concept applies to the Vala compiler. Landon On Thu, Sep 20, 2012 at 10:23 AM, Mario

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Jonas Kulla
2012/9/20 Mario Daniel Ruiz Saavedra desideran...@rocketmail.com What hinders it from making it the other way (taking c code which heavily uses GLib, and turning it into Vala Code)? The same thing that hinders an oven from producing flour and water from bread I suppose.

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Mario Daniel Ruiz Saavedra
Asunto: Re: [Vala] Rv: C to Vala 2012/9/20 Mario Daniel Ruiz Saavedra desideran...@rocketmail.com What hinders it from making it the other way (taking c code which heavily uses GLib, and turning it into Vala Code)?  The same thing that hinders an oven from producing flour and water from bread

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Eric Gregory
On Thu, Sep 20, 2012 at 12:01 PM, Mario Daniel Ruiz Saavedra desideran...@rocketmail.com wrote: Unlikely. You are confusing translate with transform. Please argue properly. He's right though -- the relationship between C and Vala is not 1:1 unless the C code was generated by valac.

[Vala] Rv: C to Vala

2012-09-19 Thread Mario Daniel Ruiz Saavedra
I'll resend this, hoping for an answer :D - Mensaje reenviado - De: Mario Daniel Ruiz Saavedra desideran...@rocketmail.com Para: Vala List vala-list@gnome.org CC: Enviado: Viernes, 17 de agosto, 2012 0:28:58 Asunto: C to Vala Is it possible that, having a program written in C, making