Char Language (Charlang)
《 Char Language    is a free, open-source script language or a interpreter written in Golang. Golang is not required to be installed. Charlang is only in one executable file, green and fast. And Charlang provides a modern GUI programming ability, and it's cross-platform, native, no dependencies and convenient.

GUI written in Charlang itself



Installation
  • Download the latest Charlang executable file or zip file.
  • Then put it into a directory in the system path. If you download the zip file, extract it first.
  • Now it's ready to go.
  • Further more, the document is here in Github or here

Usage

Check the version.

char -version

Show help.

char -h

Run a script file.

char test.char

And all the switches in Charlang should be like "-type=code", not "-type code".

Start the interpreter in REPL mode.

> char

the REPL runs like this,

> a:=1                      
1                          
> b:=2.3                    
2.3                        
> a+b                      
3.3                        
> pln("a:", a)     
a: 1                       
                      
> exit()                   
exit status 1              
						

use "quit()" or "exit()" function to exit.