ObjectScript, new programming language

You know that there’s a lot of programming languages, like C, C++, Java, JavaScript, Objective-C and lot of others.

Here is a new programming language :
ObjectScript

The name is a mix between Object, because it’s a object oriented language and Script.

In the description of this new language, they say the syntax looks like Java. Here is a snippet of a code.

// this file saved as if-else-3.os

if( x >;; y )
{
if( c <;; d )
foo();
}
else
bar();

The syntax isn’t the same as Java, but it pretty looks like. Here is another snippet.

// this file saved as for.os

var arr = [];

for( var i=0; i<;;10; i++ )
arr[i] = i;

var sum = 0;
for( var item : arr )
sum += item;

The declaration of a variable is the same as JavaScript, so people who know these languages (Java and JavaScript) may be able to understand ObjectScript easier and faster as those who doesn’t know.

You can find some others informations on their website. So go and see, don’t hesitate to let a feedback of this new programming language.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s