-
Notifications
You must be signed in to change notification settings - Fork 35
Home
Script language engine for .NET Application
ReoScript is a powerful JavaScript-like script language engine implemented in C#. It was designed for inclusion in applications that require a built-in, easy to use script language with high scalability and no dependencies other language like C/C++.
See What is ReoScript.
- Fully JavaScript Statements and operators implement
- JSON and Array literals
- Fully prototype chain mechanism
- Lambda Expression
- Enhanced Array Enumerator and Collection Operations
- Enhanced Async-calling with arguments passing
- Data exchange with .NET CLR
- Property Extension and Function Extension
- Access .Net object with DirectAccess
- Using .Net Types and Event Binding
ReoScript is not completely compliant to JavaScript/ECMAScript standard, it has stricter syntax check and own additional syntax, function and object in order to enhance usability of data exchange.
ReoScript provides a simple script Editor it can be used to write and execute script directly. The Editor can also be included in application and provided to end-user.
ReoScript also support run script file from Windows Console using Console Runner it was available since ReoScript 1.2.
-
Download or build the following DLLs, add they into reference list of target project
Antlr3.Runtime.dll Unvell.ReoScript.dll
-
Import the following namespace
using Unvell.ReoScript;
-
Create ScriptRunningMachine and run script
ScriptRunningMachine srm = new ScriptRunningMachine(); srm.Run("alert('hello world!');");
(Semicolons at end of line in ReoScript are required)
- Getting Started
- How to use ReoScript to run JavaScript
- How to integrate with .Net program
- How to extend function for script in .Net program
- [How to run script in Windows Console](wiki/Console Runner)
- Language Feature
- Language Specification
- Integrate with .Net
See [Change Log](wiki/Change Log).
The following software may be included in this product:
GNU Lesser General Public License (LGPLv3).
Jing, Lu ([email protected])
Copyright(c) 2012-2013 unvell, All Rights Reserved.