/wscript

a complete rewrite of wscript.exe, for *NIX

Primary LanguageC++

image/vbs.png Visual Basic Script Interpreter

Run *.vbs scripts on your *NIX machine, in a completely libre way!

This is a complete rewrite of wscript.exe, for *NIX machines.
The goal is to have it behave exactly like the .exe version for Windows,
but in a libre and platform-independent way.

The goal is not yet achieved, but feel free to contribute,
just make sure that any contribution & modification you do is completely libre.

Refreshing reminder of what vbs looks like:

Dim x

x = 2

If x > 0 Then
    Wscript.Echo "Hello World"
End If

Requirements

You will need to compile and install the following:

Usage

To use this software:

wscript.out <script>.vbs

Compile

To compile this software:

make

Then to make it accessible from anywhere, just run this command after you have compiled it:

cp wscript.out /usr/local/bin/.

Running the unit tests

To run the unit tests, you will have to have these installed:

  • python2.7
  • python-virtualenv

You will also have to install the default extensions:

./install-extensions.sh

If you have them installed, you can simply run:

./run_tests.sh