Measures Concepts
GitHub icon

gentee

gentee - Programming language

< >

gentee is a programming language created in 2018 by Alexey Krivonogov.

Source code:
git clone https://github.com/gentee/gentee
#1073on PLDB 6Years Old

Script programming language for automation. It uses VM and compiler written in Go (Golang).


Example 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 )}") } }

Language features

Feature Supported Token Example
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout