mercoledì 24 febbraio 2010

Ithinkis operator

Ithinkis operator is a new conceptual assignment operator. We've been inspired by the fundamental question that concerns human beings: who am I?

This operator doesn't assign a specific value to the variable, because we need to prevent identity crisis. ithinkis offers a value at the variable, and if the variable is in the right mood will accept it, if not fortron2040 will choose another value, randomly.

example:

var1 ithinkis 7

martedì 23 febbraio 2010

Fortron FORIF and FORELSE

The team is proud to announce two new language contructs:
FORIF and FORELSE.

Let's see how they work together to produce absolutely nothing as in the best FORTRON2040 tradition!

FORIF(i = 1 ? 1 : fortRand(); i || g || foo; i+- ) {
forprint "HELLO WORLD";
} FORELSE ( 1+1 = 2 || ohibo) {
forprint "HELLO WORLD";
}

Note that the features is already deprecated.

Fortron automatic recursion

This amazing feature let you create functions with automatic recursion in it. I try to explain: you define a function, then executing some code in it and, randomly, the function calls itself with the last defined variables as parameters.

Check out this little example:

@autorecursion(probability=45%)
Fortrfunc autoexample(arg0, arg1) {
i is 1
a is 7
o ithinkis 8
arg0 fortrsum oai
arg1 fortrmul aio
}

In this case, with a probability of 45% this function calls itself with two among i, a, o, arg0, arg1 as parameters, but you don't know which of these, because the time of recall is also random.

Fortron compiler spotted in the wild


First image stolen from Fortron labs. The compiler is on the way!

lunedì 22 febbraio 2010

Fortron2040 goes open source

After a day of closed development we realized we are too lazy to do it without help.

Help us sending your contribute to Fortron2040. Mail new features or code examples at:

fortron2040@gmail.com

Unuseful IF

All the features posted before are now deprecated. We all proud to announce a new feature:

Unuseful IF

example:
FORTRON::IFtrue::THENtrue ELSEfalse

Hype/FORTRON code sample

Hype/Fortron Code samples:

BASIC


<::hype style='oddity' counter='1_to_ten'>
{ for ju in ju [ juju] } println ( !ju );



which produces ( "HELLO WORLD" )

ADVANCED STUFF

REST client
<::hype style='heavendity' counter='randomizer()'>
response = Fortron::getHttpClient::get("path");
response.parse(first.row);
out = response.normalize("toTable");


which produces ( "HELLO WORLD" )

A new Programming Language is born. Fortron to dominate the scene!

Hi guys,
we're happy to announce the brand new release of the new Programming language
FORTRON 2040. v0.1.8.973.191 (BETA42)
Key features:
Hype template engineering language v.349Beta344556 ( ALPHABETA )
Dynamic language contructs: Closures, ( deprecated in 5 minutes ), Apertures ( already deporecated in v .0.0.0.0.02442323BETA 6a ) the faboulous SWITCHIFWHILE construct which does absolutely nothing!
Fastest compiler ever, ( always prints out "HELLO WORLD" ) with only one exception thrown ( The awesome/awful AnalPointerException ) .

Update: the new release v0.1.8.973.192 (BETA1) ( codename: ATREYU ) is ready, all the stuff above IS NO MORE VALID! Check the manual for help migrating to the new version ( remember that now is v0.1.8.973.193 (BETA2) ( codename: FORTIOR ) )