Re: [Vala] Newbie need help



Ok, thank's a lot!


Von: Al Thomas <astavale yahoo co uk>
Gesendet: 23.10.2018 10:37
An: <vala-list gnome org>,wolfgang mauer kabelmail de <wolfgang mauer kabelmail de>
Betreff: Re: [Vala] Newbie need help
> On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang mauer kabelmail de <wolfgang mauer kabelmail 
de> wrote:> what is the difference between valac and vala? (Compiler / Interpreter)> valac -> 
compiler(ok)> vala -> interpreter ???? what/how/usage
valac is the compiler. The command, vala, combines compiling with valac and then running the output.It allows 
a simple script like:
#!/usr/bin/vala
void main () {
    print ("compiled and run in one command!\n");
}

Although you may reach its limits quickly if you try anything too complex, e.g. 
https://gitlab.gnome.org/GNOME/vala/issues/618The use of the --run-args switch may help - 
https://gitlab.gnome.org/GNOME/vala/commit/0e45b19dfabce1b2f04733d7ec6eb02d6692b549

All the best,

Al



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