Skip to content
Jing Lu edited this page May 13, 2013 · 26 revisions

There is a console runner provided from ReoScript v1.2. The script file could be executed by this shell runner program.

Get Console Runner

Download ReoScript binary library or build source file. Console runner could be find in the following path:

ReoScript\ReoScriptRunner\Bin\Debug

If you build ReoScript with Release configuration. The last folder should be 'Release'.

Prepare Script File

  1. Open Notepad, write following code and save as file named "Sample.rs": ` function hello() { console.log('Hello World!'); }

    hello(); `

  2. In command prompt, execute following command:

    C:\> ReoScript.exe Sample.rs

  3. The 'Hello World!' should be printed in console:

    C:> ReoScript.exe Sample.rs Hello World!

    C:>