Re: [Vala] Rv: C to Vala

valac takes Vala code, analyzes it, and generates C code accordingly. What hinders it from making it the 
other way (taking c code which heavily uses GLib, and turning it into Vala Code)? Also, whould prove 
correctness, as doing Vala to C and then C to Vala should produce similar code.
----- Mensaje original -----
De: Landon Blake <sunburned surveyor gmail com>
Para: Mario Daniel Ruiz Saavedra <desiderantes rocketmail com>
Enviado: Jueves, 20 de septiembre, 2012 11:38:53
Asunto: Re: [Vala] Rv: C to Vala


I've just started using Vala, but I think I can take a stab at your questions.

Vala is compiled to C, C is not compiled to Vala. Therefore, I don't
think there would be an easy and automated way to convert C code into
Vala code.

Does that make sense?


On Wed, Sep 19, 2012 at 4:05 PM, Mario Daniel Ruiz Saavedra
<desiderantes rocketmail com> wrote:
I'll resend this, hoping for an answer :D

----- Mensaje reenviado -----
De: Mario Daniel Ruiz Saavedra <desiderantes rocketmail com>
Para: Vala List <vala-list gnome org>
Enviado: Viernes, 17 de agosto, 2012 0:28:58
Asunto: C to Vala

Is it possible that, having a program written in C, making full use of GLib, a conversion from c to vala 
would be plausible? Obviously, rewrite the application should be the way to go, but at least for giving an 
overview of how the new design may look, especially if you did not write the app, such feature would be 
vala-list mailing list
vala-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]