Supernova

                       Programming

                           Language

    Download (Free-Open Source) - 2010.05.16                  

                Supernova 1.3 MS-Windows Edition                 

                Supernova 1.0.0-9 Multi-Platform Edition (MS-Windows)                 

                Supernova 1.0.0-9 Multi-Platform Edition (Ubuntu Linux)                 

    Supernova Article (CodeProject)                 

    Supernova Arabic Book                 

    Introduction             

             The Supernova Programming language is a modern scripting language and the

First one presents the concept of programming with direct Fiction Description using

Clear subset of pure Human Language.

    Features                   

·       Distribute your application as Executable (*.exe) files.

·       Write GUI applications (Windows, Controls, …..etc)

·       Programming with direct fiction description using subset of pure human language.

·      The programs are one or more of paragraphs (collection of statements).

·       High level of writing flexibility

o        Not Case Sensitive.

o        Not Tab Sensitive.

o        Not Space Sensitive.

o        Not Line Sensitive.

·      Multi-Language source code (Arabic, English & Mixed).

·     Instructions execution model is Event-Driven.

·      Hybrid Implementation (Compiler & Virtual Machine).

 

 

    Hello  World Program                

              I want window and the window title is Hello World.

    Message from Supernova Creator       

        Hi

        My name is Mahmoud Fayed and I live in Egypt.

        I am the Creator of Supernova programming language and I am

        Interested in Compiler implementation using AI Techniques and

        Supernova is a result of my researches in this topic.

 

        Supernova is a language tends to be more near to our human language

        Where we do Programming With Fiction Description (PWFD) using subset of

        Pure human language

 

The human language is VERY big and contains many words so we use

A subset of it to **Reduce the Complexity** of the problem and

To **Get Acceptable Performance** as much as we can

 

                Unlike other programming languages which is based on statements

                Supernova is based on Paragraphs which contains many statements

                packed together using ignored words like (the, and,...etc)

 

                For example the two commands:-

                      (1) I want window

                      (2) Window title is hello.

                May be connected together to form another big statement

                I want window and the window title is hello.

                And a collection of big statements form a paragraph

                And a collection of paragraphs form a program.

 

                Unlike other programming languages most of supernova programming

                Language statements has a rule describe its structure and help

                users to use and remember the statement in the future.

 

 For example the rule: PVC used to control the structure of the

 Statement I Want Window

                   Rule: PVC

                   [P] = Pronoun

                   [V] = Verb

                   [C] = Class

                   i.e. PVC  = Pronoun Verb   Class                

                   Statement =    I Want Window follow PVC Rule

                   Where:-

                   [I] = Pronoun

                   [Want] = Verb

                   [Window] = Class

                   Easy to remember and use!!

 

                Another rule as example: CAVD used to control the structure

                Of the statement (Window Title is  ...Data...)

                   Rule: CAVD

                   [C] = Class

                   [A] = Attribute

                   [V] = Verb

                   [D] = Data

                   I.e. CAVD = Class Attribute Verb Data

                   Statement = Window Title is ...data... follow CAVD Rule

                   Where:-

                   [Window] = Class

                   [Title] = Attribute

                   [Is] = Verb

                   [..Data...] = Data

                   Easy to remember and use!!

 

    Supernova is a Multi-language where the source code may be written

    Using (Arabic, English, Mixed...etc) code

 

    For example The English program

                   I want window and the window title is wow.

              Can be rewritten in Arabic language

                   .انا اريد نافذة والنافذة تحت عنوان هو واو

 

    Many other subsets of human languages can be added in the future to

    Help peoples from different countries and cultures to learn the art

    Of computer programming at a small age without the need to learn a

    Another human language (English for example) to use a programming language

 

    With respect to the design of the language and unlike other

    Programming languages which uses Context-Free Grammar, Supernova

    Use a Context-Sensitive Grammar to get a language more near to

    Our human language as much as we can

 

         Example:

         Let us test the power of Context-Sensitive Grammar of the

         Supernova language programming language

 

I want window and the window title is I want window.

 

          The first (I want window) is a command but the second (I want window) is a data

 

    Supernova uses AI to understand what you want to write using the language     

    Grammar, It's not important if you write using UPPER case or lower case, also

    You  can  Use spaces   between words and/or **between the same word letters   

     too** and not Only spaces allowed but also (Tabs) & (End Line) characters is allowed

 

      
    Now let us test this feature which let us fell that the language has two eyes and   

    Uses them to

    Look to our code.

                                                     i
                                        w a n t w i n d o w
                                        a n d
                                        t h e
                                        w i n d o w t i t l
                                        e i s i want window. 

 

          1 – Create new text document

2 – Write the code

3 – Execute nova.exe and select the file, you will get the same result without problems.

 

   Finally Supernova is a Simple Scripting programming language

   And released as a Freeware product for MS-Windows

   So if you like it. You can help by distributing it to your friends.

 

   Any useful feedback are welcome and if you have a question

   Please put it in the project forum in sourceforge.net

   And i will do my best to help as much as i can.

 

           Have Fun!!