| Autor |
Mensagem |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 01/10/2010 09:17:01
|
Rafael Afonso
Virtual Machine Man
Membro desde: 05/12/2002 16:03:43
Mensagens: 719
Localização: São Paulo/SP
Offline
|
Design Goals
The goals used to design Stab were as follows:
* The syntax should be readable without difficulties by Java/C# programmers
* The execution of a Stab program should be as efficient as the execution of the same program written in Java
* The generated bytecode should be usable transparently from Java
* The Java libraries should be usable from Stab programs without adaptations
Current State
All the features listed below are implemented and tested. The compiler is stable enough to compile its own source code (Stab is written 100% in Stab).
A beta version is available for download.
Features
This section presents an overview of the features found in the Stab language. Additional informations can be found here: StabLanguage.
JVM compatibility
Stab has almost all the features that can be found in Java:
* The same primitive types and operators with automatic boxing/unboxing
* Arrays, classes, interfaces, enums, constructors, fields and methods
* Methods with variable number of arguments
* C-like if/else, for, while, do, switch statements
* Exceptions handling with try/catch/finally and throw
* synchronized blocks and methods
* Compile-time generic programming including constraints and wildcards
* Annotations
Stab supports nested classes but not inner classes. To access a non-static member of an outer class, an explicit reference must be used.
Mais em http://code.google.com/p/stab-language/
Fonte: http://twitter.com/opinali
|
Rafael Ubiratam Clemente Afonso
---------------------------------------
GitHub
ScalaFX
LinkedIn |
|
|
 |
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 01/10/2010 09:47:02
|
Mikhas
Virtual Machine Man
![[Avatar]](/images/avatar/4388a23da67b154b780b78dd7ea4636e.jpg)
Membro desde: 17/06/2008 11:10:50
Mensagens: 677
Localização: São Paulo
Offline
|
Bacana!
Alguns elementos da linguagem tem uma sintax estranha.
Vou tentar fazer um programa com isso ai
|
Refractor 1.6 - Easy reflection framework
Agora muito mais rapido!
Raze - The fastest CSS selector engine
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 01/10/2010 10:34:41
|
Rafael Afonso
Virtual Machine Man
Membro desde: 05/12/2002 16:03:43
Mensagens: 719
Localização: São Paulo/SP
Offline
|
Mikhas wrote:Bacana!
Alguns elementos da linguagem tem uma sintax estranha.
Vou tentar fazer um programa com isso ai 
O que exatamente você achou estranho?
Dei uma olhada nos fontes e achei curioso que usa diretamente a API do Java SE. Ao invés de procurar emular as APIs do C# (pelo menos as partes que a MS liberou para o ECMA).
|
Rafael Ubiratam Clemente Afonso
---------------------------------------
GitHub
ScalaFX
LinkedIn |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 01/10/2010 10:41:59
|
juliocbq
GUJ Expert
![[Avatar]](/images/avatar/153704bb24a28e9a6bb49e8ffde1492e.jpg)
Membro desde: 13/11/2008 12:10:18
Mensagens: 3927
Offline
|
Tem muito do D da digital mars e properties do objectpascal ou c#. Muito boa.
|
www.citrox.com.br |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 01/10/2010 19:23:08
|
Adelar
GUJ Master
![[Avatar]](/images/avatar/4ad38ecf2884a47a5efa657f3358e635.jpg)
Membro desde: 31/10/2008 10:07:36
Mensagens: 1237
Localização: Cascavel
Offline
|
Interessante. Curti que dá pra usar o #define do C.
Att.
|
"Errando e aprendendo com os bugs"
http://www.cajuscript.org |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 02/10/2010 14:33:48
|
giovanni_stiwes
JavaGuru
Membro desde: 20/04/2006 09:00:42
Mensagens: 236
Offline
|
Legal. A Oracle devia contratar este cara.
|
|
|
 |
|
|