Skip to main content

Intro

This guide will show you the documentation for LemonScript. This includes the syntax, arguments and structure of the code, from everything from variables to keywords to classes. The documentation is split into many topics. You can skip to a particular topic by clicking it on the left-side navigation bar.

You can also see code examples with explanations in the LemonScript Examples.

In this documentation, arguments/code inside [] brackets are mandatory, and arguments/code inside <> brackets are optional. The | symbol means that you can have multiple arguments in a spot. For example:

[var | const] a = 5

means that you can either have var a = 5 or const a = 5.