https://github.com/yanghuan/scriptinterpreter
Script Interpreter base on .Net 4.0 dynamic language runtime;
https://github.com/yanghuan/scriptinterpreter
Last synced: 5 months ago
JSON representation
Script Interpreter base on .Net 4.0 dynamic language runtime;
- Host: GitHub
- URL: https://github.com/yanghuan/scriptinterpreter
- Owner: yanghuan
- License: apache-2.0
- Created: 2012-11-11T16:32:02.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T12:52:01.000Z (over 7 years ago)
- Last Synced: 2023-04-02T11:37:36.668Z (over 2 years ago)
- Language: C#
- Size: 36.1 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ScriptInterpreter
Implementation of the MyScript scripting language engine.## Introduction
* Recursive syntax analysis of the decline
* Base on .Net 4.0 dynamic language runtime
* Similar Lua/Javascript grammar
* Support dynamic language common functions, such as table (association array),
* function as the first type, closure, uncertain parameters,Meta table (similar to the Lua Metatable)
* C# friendly interoperability## Sample
```script
local i = "hello wrod"
print(i)for(i = 0; i < 10; i++) {
print(i)
}
```