PHPKB Knowledge Base Software Knowledge Base Software Demo Buy PHPKB Software 
PHPKB Knowledge Base Software Knowledge Management Software  
Knowledge Base Home Knowledge Base Home | Knowledge Base Glossary Glossary | Contact Us Contact Us
Home > All Categories > Computers & Information Technology > Internet and WWW > Search Engines > Google
Title

Google's Simple Programming Language Released

Google has released a simple, BASIC-like programming language called Simple. However, while the original BASIC language implementation was created as an educational tool to teach programming, Simple is intended for developing Android applications.

"Bringing an easy to learn and use language to the mobile world and the Android platform is the goal of the Simple project." - Herbert Czymontek.

According to Google, Simple programs are form definitions (which contain components) and code (which contains the program logic). The interaction between the components and the program logic happens through events triggered by the components. The program logic consists of event handlers which contain code reacting to the events.

Here is part of the Simple Tetris-like game source code in Google's SIMPLE programming language.
' -------------------------------------------------------
' Analyze keyboard input
' -------------------------------------------------------

Event Tetris.Keyboard(keycode As Integer)

  If keycode = Component.KEYCODE_BACK Then Finish()

  If IsGameActive() Then

    Select keycode

    Case Component.KEYCODE_PAD_LEFT

      BrickMoveLeft()

    Case Component.KEYCODE_PAD_RIGHT

      BrickMoveRight()

    Case Component.KEYCODE_PAD_UP

      BrickTurnRight()

    Case Component.KEYCODE_PAD_DOWN

      BrickTurnLeft()

    Case Component.KEYCODE_PAD_CENTER, Component.KEYCODE_SPACE

      BrickDropDown()

    End Select

  End If

End Event

Simple is available for Linux, Mac, and Windows. The source code for the implementation is freely available, along with sample applications.

Note: Simple is still a work in progress.

A total of 216 users are reading this article.
Posted by: Administrator This question has been viewed 1438 times so far.

Want More?
Would you like to be notified when new articles are added to our knowledgebase? Subscribe to our Feed and get instant notifications when new articles are added to the knowledgebase.

Click Here to view all the questions in the Google category.
Attachments File Attachments
There are no files attached to this question/article.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this article. Click Here and be the first to post a comment.
Related Questions Related General Knowledge Questions
  1. Google acquires reCAPTCHA
  2. Google Display Breadcrumbs in Search Results
  3. Top 10 Google Search Tips and Tricks
  4. Searching the Internet on Google - Why Google search engine is best?
Information Additional Information
Article Number: 808
Created: 2009-08-06 5:47 PM
Rating: No Rating
 
options Article Options
Email to Friend
Export to PDF format Export to PDF File
del.icio.us Bookmark del.icio.us Bookmark
Reditt Bookmark Reditt Bookmark
Digg Bookmark Digg Bookmark
Stumble Stumble It
Subscribe to Article
Twitter
Feedburner Stay Informed by Email
 
Resources Useful Links
 

Related Google acquires reCAPTCHA

Related Google Display Breadcrumbs in Search Results

Related Top 10 Google Search Tips and Tricks

Related Searching the Internet on Google - Why Google search engine is best?

Search Knowledge Base Search Knowledge Base
 
 

Powered by PHPKB Knowledge Base Software