/gotx

A Golang interpreter based on Yaegi. Integreted by many useful libraries, Gotx will be a perfect script language engine.

Primary LanguageGoMIT LicenseMIT

GotX

Gotx的中文文档可以从这里看起。

A Golang interpreter based on Yaegi.

Directly run Golang-like code files. Almost the same syntax as Golang. Installation of Golang is not required to run GotX code, it's convenient especially for running/debugging on remote servers.

Most of the standard libraries and some useful 3rd-party libraries are included.

Support GUI programming with OpenGL or LCL library.

A command-line only version (GotXc) is also available.

Currently supported 3rd-party libraies: github.com/topxeq/tk(many useful functions), github.com/topxeq/sqltk(SQL databases), github.com/beevik/etree(XML processing), github.com/AllenDang/giu(OpenGL GUI), github.com/360EntSecGroup-Skylar/excelize(Excel file handling), github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi(Send Aliyun SMS), github.com/boombuler/barcode & github.com/boombuler/barcode/qr(generate QR Code), github.com/sciter-sdk/go-sciter & github.com/sciter-sdk/go-sciter/window(support cross-platform HTML/CSS/JavaScript GUI programming).

If more packages are required, please compile the source code, add the packages you need, refer to the examples of the packages already supported.

Install

Download it from here. Extract the download zip file, and put the executable anywhere but best in the system PATH. Run it from a command-line console.