Skip to content
Max Base edited this page Jul 19, 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

Types

  • UInt8

  • UInt16

  • UInt32

  • UInt64

  • Int8

  • Int16

  • Int32

  • Int64

  • Size

  • USize

  • Float32

  • Float64

  • Null

  • Char

  • String

  • Bool

  • Function

  • Void

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
 */

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