Skip to content

lessmoon/xscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XScript

A c-like script language

This is a script compiler and runtime environment.Please read this document for more information about this language grammar.

The language has a c-like way to prommgram,and if you have exprience in C/C++, Java or C#,you will be familiar to it.

XScript is:

  1. a strongly-typed language.It has a very complete type check and conversion ruler.
  2. a simple language.
  3. an extensible language.You can extend the functions by using extending Java functions,which means you can call the native Java functions.
  4. a powerful language.You can finish almost everything by using it.This language supports for function and struct.
  5. a convenient language.It has a lot of built-in types:int,char,bool,string,real,and even bigint,bigreal.
  6. an object oriented language.It supports for inheriting.You can write RTTI codes-because it supports operator instanceof.
  7. a script language.And this means its GC system is based on JVM.
  8. a language supporting for multi-thread

If you have any advices,you can fork it and raise a pull request.And also,extension to other language is welcome.