gentee is an actively used programming language created in 2018. Script programming language for automation. It uses VM and compiler written in Go (Golang).

2Years Old 60Users ?Jobs

Example code from the web:

#!/usr/local/bin/gentee
# stdin = 1024\n384\n0

// Copyright 2019 Alexey Krivonogov. All rights reserved.
// Use of this source code is governed by a MIT license
// that can be found in the LICENSE file.

func gcd( int left right ) int
{
    if right == 0 : return left
    return gcd( right, left % right )
}

run  {
    str     input
    int     left right
    Println("This program finds the greatest common divisor by the Euclidean Algorithm.")
 
    while true
    {
       left = int( ReadString( "Enter the first number ( enter 0 to exit ): "))
       if left == 0 : break
       
       right = int( ReadString( "Enter the second number: "))
       Println("GCD = \{ gcd( left, right )}")
    }
}

Last updated February 18th, 2020

Edit gentee on GitHub