-
Notifications
You must be signed in to change notification settings - Fork 35
What is ReoScript
ReoScript is JavaScript-like script language engine implemented in C#. .Net Application integrated with ReoScript engine to be available to run scripts like VBA in Excel.
Although ReoScript was designed and implemented according to Standard ECMAScript/JavaScript as much as possible, there is something difference between JavaScript and ReoScript. See What's the difference between JavaScript and ReoScript.
Application integrated with ReoScript engine will be able to do:
- Run script language like JavaScript
- Extend script language (add own function, object type, etc...)
- Easy to custom work flow by writing scripts
- Provide an ability for your user to write scripts
- Implement partial feature of entire application in more easier way
ReoScript contains the following components:
- ReoScript Core (Unvell.ReoScript.dll)
- ReoScript Editor (Unvell.ReoScriptEditor.dll)
- ReoScript Console Runner (ReoScript.exe)
ReoScript Core is main module and script engine of ReoScript which contains:
- ScriptRunningMachine The class of run-time engine to run and manage scripts
- ScriptDebugger A debugger used to debug ReoScript
- Lexer and Parser implemented using ANLTR 3
-
Core Script Library Some core script library supported by ReoScript Core
- core.rs - Core scripts (defining
Math.PI
and etc.) - debug.rs - Debugger scripts (defining
debug.assert
and etc.) - array.rs - Linq-like array collection script library (defining
Array.where
and etc.)
- core.rs - Core scripts (defining
If you just need to run script without ReoScript Editor, you could only import Unvell.ReoScript.dll.
A built-in GUI editor can be used to edit, run or debug script. ReoScript Editor implemented based on FastColoredTextBox with syntax-highlight, auto-indent and etc.
A comand shell script runner to run script in Windows Console. See more about Console Runner.
ReoScript runs specified scripts from string, file or other source that could be specified by your application. See How to integrate ReoScript in your application.