Programming languages support in Arnica WebScript (update)

July 26, 2019 by Igor Lozhkin
One of the major strengths of Arnica WebScript is that it enables you to create programming scripts written in different languages. Scripts in the same API container may invoke each other, exchange data, and co-exist in the same execution workflow.

Each script item in an API container starts with the metadata section which specifies the programming language of the script, e.g.:
                       
<!
[Metadata]
Language=csharp:std
[/Metadata]
!>

Language specification includes the script code reference and optional implementation type.


Supported  languages are documented below. The default implementation type is used if not specified in the script metadata section.


Language Code

Description

Default

implementation

Other

Implementations

arnica

Arnica script

obj

 

cpp

C++

std

 

csharp

C#

std

aspx

go

Golang

std

http

javascript

Javascript (server-side)

std

 

pascal

Pascal (FPC)

std

 

php

PHP

std

http

powershell

PowerShell

cmd

 

python

Python

std

http

rust

Rust

std

 

julia

Julia

jit

 

sql

SQL script

odbc

 

vb

Visual Basic (.NET or Classic)

std (vb.net)

asp (vb classic), aspx (vb.net), cmd (vb classic)