Execution

Vadacode supports the execution of Vadalog programs directly from the editor window. TL;DR press Ctrl+Shift+Enter and you’re set.

Execute a Vadalog program

Open the Command Palette (+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux) and type in Vadalog: Evaluate program (or use directly the shortcut Ctrl+Shift+Enter).

The program will be sent to Vadalog, which in turn will execute it and return results to Visual Studio Code. Vadacode then shows the results in the Vadalog view:

vadalog results view
Figure 1. Vadalog results view

Vadacode sends requests to the endpoint specified in the Vadalog endpoint setting.

Vadacode (by design) doesn’t stop you from sending ill-formed programs to Vadalog. Vadalog will parse the program and return en execution error, which will be shown in the same Vadalog view.