Skip to main content

Intro

LemonScript is a simple language with a strong focus on simplicity and readability. In this guide, you will learn how to install LemonScript and run it with a simple script. To learn how to code in LemonScript, you can read the LemonScript Documentation. Many detailed examples covering the functionality of LemonScript can be found here.

Here is a preview of LemonScript:

# Variablesvar a = 1var b = 2print(a * 2 + b) # 4
# Functionsfunc isPrime(num: Number): Boolean {    for (var i = 2; i < num; i += 1) {        if (num % i == 0) return false    }    return true}
print(isPrime(17)) # true