Skip to content
Max Base edited this page Jul 6, 2018 · 21 revisions

Welcome to the ET wiki!

ET is an open source system programming language that easy to build , reliable, and efficient, performance software.

Getting started

Comment

One-Line

The "one-line" comment styles only comment to the end of the line or the current block of code.

such as below codes :

//here is a one-line comment.
//programmer : name
//date : 2012

Multi-Line

The "multi-line" comment styles start of /* and end of */.

such as below codes :

/*
 Programmer : Name
 Date : 2013
*/
/*
 * Programmer : Name
 * Date : 2013
 */

Types

  • Int

  • Float

  • Char

  • String

  • Bool

  • Function

  • Void

Variable

<type> <name> [=<value>] ;

such as below codes :

string name;

int age=53;

Function

<return_type> <name>( [<type> <name>,] )
{
   <statements>
}

such as below codes :

void test()
{

}

int name(string name)
{
   return 5;
}

Hello World

void main()
{
   print "Hello, World!";
}
Clone this wiki locally