Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

gentee

gentee - Programming language

< >

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

#1109on PLDB 5Years Old 130Users
0Books 0Papers

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
mirc.html · gentee.html · promal.html

View source

- Build the next great programming language · Search · Day 214 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com