maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Vala for Maemo development (https://talk.maemo.org/showthread.php?t=18968)

Jaffa 2008-07-26 23:30

Re: Vala for Maemo development
 
It's still a bit of a hack (I've made progress on interfacing in an OO way to libvala from Java, but it's not usable yet), but code complete now contains local variables, type information, restrict-as-you-type and restrict-based-on-preceding-characters and pretty icons as you get in Java:

http://bleb.org/software/valable/valable-4.png

All pushed up to my branch, and this'll probably become the trunk of Valable in the next couple of days once some Launchpad admin gets taken care of.

Jaffa 2008-07-27 16:52

Re: Vala for Maemo development
 
More spam from me about the latest push up to my branch. Some bugs fixed with the recompilation of projects on start-up, and I've done a first pass over the implementation of the sparkling new outline view:

http://bleb.org/software/valable/valable-5.png

Bundyo, since I couldn't get Monodevelop working - what's missing from Valable which monodevelop does? Would be good to have feature parity before polishing the features ;-)

PS. Interestingly (FSVO "interesting"), that screenshot also shows a minor issue with keyword detection, in that "set_contents" should be just "set_contents"; but "set" is a keyword in Vala.

brontide 2008-07-27 17:39

Re: Vala for Maemo development
 
Like you don't have enough to do, but...

What about a 15 minute vala intro session at the summit?

Bundyo 2008-07-27 18:42

Re: Vala for Maemo development
 
Probably nothing :) Though Monodevelop didn't got fully working anyway (no working code completion if there are big VAPI files in there). The code browser is a little strange - it doesn't show the current file but instead the VAPI files. I'm using it more like a reference :)

Jaffa 2008-07-27 19:08

Re: Vala for Maemo development
 
Quote:

Originally Posted by brontide (Post 207606)
Like you don't have enough to do, but...

What about a 15 minute vala intro session at the summit?

It's a good idea. I don't know the language well enough myself at the moment, and my Hildon-based apps with it have been too noddy to release; however I'd be happy to help out anyone (Bundyo? Tak?) who does lots of Vala development with a tooling demo.

darklajid 2008-07-27 19:19

Re: Vala for Maemo development
 
Seconded. I'm currently trying to learn/use vala as well and imho this would be the killer language for the tablet (python fans keep calm..).
I'd volunteer, but I'm a java/C# guy. Related, but different in too much things and I'll probably fail to become a guru in the next 2 month..

Any takers though?

Bundyo 2008-07-27 19:21

Re: Vala for Maemo development
 
I don't do lots :) I have two small apps, veeery small :). I'm foreign to GTK too and i keep meeting with the need of a X VAPI. However, this can't be done without a simple additional parser to at least specify which function is in which header (since vapigen doesn't bother to specify it). So I'm just beginning :) Maybe I'll have something to talk about in September, but i can't tell for sure now. :(

EDIT: Forgot to tell i'm all for a Vala talk and how it can help the tablet development evolve (not by me though :)).

hircus 2008-08-26 05:25

Re: Vala for Maemo development
 
Quote:

Originally Posted by fpp (Post 202878)
It would be great (at least for brace-challenged coders :-) to have a python-to-vala translator+compiler. Doesn't look totally impossible, either...

Check out Genie. It's an alternate front-end language to Vala, compiled using the same compiler, with a Python-esque syntax.

TA-t3 2008-08-26 09:37

Re: Vala for Maemo development
 
Woo, I have genie without even knowing it - my vala compiler turned out to be new enough, so I can write Genie programs without installing anything extra! Just start writing code with a .gs file extension.

BoxOfSnoo 2008-08-27 16:40

Re: Vala for Maemo development
 
Ok, help? Monodevelop failed miserably on Ubuntu. Eclipse has no clue how to plug in valable. vala won't install on the tablet 'cause it needs c-compiler which isn't available.

Any clues or should I start learning in joe and valac on the desktop?


All times are GMT. The time now is 09:32.

vBulletin® Version 3.8.8