[Vala] Newbie need help

2018-10-23 Thread wolfgang . mauer
Hi all, what is the difference between valac and vala? (Compiler / Interpreter) valac -> compiler(ok) vala -> interpreter what/how/usage ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Newbie need help

2018-10-23 Thread Tal Hadad via vala-list
valac - The standard Vala compiler Vala - A programming language. (Description, Specification,...) It's as same as this relationship: GCC - A free compiler for C C - A programming language. (Description, Specification,...) מאת: wolfgang.ma...@kabelmail.de נשלח: יום שלישי, 23 באוקטובר, 10:51 נושא:

Re: [Vala] Newbie need help

2018-10-23 Thread Jens Georg
valac - The standard Vala compiler Vala - A programming language. (Description, Specification,...) That isn't the complete truth, there is also vala, the "interpreter" that on-the-fly compiles the vala code and runs it - which works ok for simple files e.g. if you need to check something qu

Re: [Vala] Newbie need help

2018-10-23 Thread Al Thomas via vala-list
> On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang.ma...@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

Re: [Vala] Newbie need help

2018-10-23 Thread wolfgang . mauer
Ok, thank's a lot! Von: Al Thomas Gesendet: 23.10.2018 10:37 An: ,wolfgang.ma...@kabelmail.de Betreff: Re: [Vala] Newbie need help > On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang.ma...@kabelmail.de

Re: [Vala] Newbie need help

2018-10-23 Thread Ulink
> valac -> compiler(ok) > vala -> interpreter what/how/usage As others said before, /usr/bin/vala is a command for using in Vala scripts. It compiles the embedded script code on the fly to a temporary binary and runs it afterwards. Additionally, I'm using tcc (Ubuntu: sudo apt install tcc) i

Re: [Vala] Newbie need help

2018-10-23 Thread Ulink
Or try this: First, install packages: sudo apt install tcc libgtk-vnc-2.0-dev Second, try this VNC client script: #!/usr/bin/vala --Xcc=-w --cc=tcc --pkg gtk+-3.0 --pkg gtk-vnc-2.0 int main (string[] args) { Gtk.init (ref args); var window = new Gtk.Window (); window.dest