Skip to content
Gentee - script programming language for automation. It uses VM and compiler written in Go (Golang).
Branch: master
Clone or download
Latest commit 88a090a Mar 21, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
compiler Added &= for var initialization Feb 25, 2019
tests Added regexp functions Mar 21, 2019
.gitignore Initial commit Jan 14, 2018
LICENSE Version 1.0.0 Mar 5, 2019
gentee.go Refactored tests Feb 11, 2019
gentee_test.go Improved tests Feb 12, 2019

Gentee script programming language

Build Status Go Report Card GoDoc

Gentee is a free open source script programming language. The Gentee programming language is designed to create scripts to automate repetitive actions and processes on your computer. If you use or plan to use .bat files, bash, PowerShell or special programs to automate actions, then try doing the same thing with Gentee.


All documentation is available on GitHub pages. It describes features that have already been realized.


You can download other binary distributions for Linux, macOS, Windows here.

How to run Gentee scripts

$ go get -u
$ cd gentee/gentee/cli
$ go build
  • Specify the script file when running gentee. The script file can have any extension.
Linux: ./gentee myscript.g 
Wndows: gentee.exe myscript.g
  • Also, you can associate the gentee program with script files in your operating system.

Gentee compiler/interpreter

gentee [-ver] [-t] <scriptname> (<scriptname>)

By default, the program prints the output of the script to the console and returns 0 if successful.

Command line parameters

  • scriptname - full or relative path to the script file. If several scripts are specified, then they will be executed sequentially.
  • -ver - show the current version of Gentee language.
  • -t - test the script. When using this parameter, the script must have the result parameter in the header with the expected value (example). In this mode, the program does not output the result of the script execution to the console. If the result does not match, an error message is displayed and an error code 4 is returned.

Error code

Code Description
1 The script file was not found.
2 Compilation error.
3 Runtime Error.
4 The result is erroneous at start with the -t parameter.


If you have any questions and suggestions or would like to help in the development, add your issue here.



Copyright (c) 2018-present, Alexey Krivonogov

You can’t perform that action at this time.