Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

gentee

< >

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

#986on PLDB 6Years Old
Download source code:
git clone https://github.com/gentee/gentee
Homepage · Source Code

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 Example Token
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.2.0