JS-based high-level scripting language Sara

Sara- JS-based high-level scripting language

Welcome to Sara, Sara is based on a new high-level scripting language JavaScript is! 

Sara Unlike a programming language works -Ginit the studio, like us, he belongs to the higher level language

Sara full support for high-level functions, and supports plug-JS

(But it is a pity, because the performance problems of JS, Sara did not support a series of very sophisticated methods, but these methods can be placed in Sara inside the JS code field to go to complete)

Because Sara is based JS development, so Sara inside the JS variables and variables inside exactly the same, and can call each other

We have established Sara's original intention was to open to him, in order to allow more people to learn, rather than used to show off

Sara interpreter File size:

Sara interpreter file size is very impressive, with only 6kb size! ! !

Sara format file extensions: .sar

Here is an example of Sara few basic statements:

print language: for output in the browser

print("Hello! It is Sara!");

Create a variable statements: (Sara full support global variables, block-level variables, constants)

id SaraVar = "Hello";

In addition to these two examples of statements, there are many statements.

Guess you like

Origin www.cnblogs.com/1994-jinnan411-top/p/11839439.html