> For the complete documentation index, see [llms.txt](https://help.trikset.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.trikset.com/en/studio/programming-visual/expression-syntax/lexemes.md).

# TRIK Studio language tokens

The language uses **spaces**, **tabs**, and **line breaks** outside of string literals only as **separators** between tokens — they do not affect the interpretation of expressions.

The language has the following keywords:

* and
* false
* nil
* not
* or
* true​

And the following [operators](/en/studio/programming-visual/expression-syntax/operators.md):

```lua
+ - * / % ^ # & ~ | << >> // == ~= <= >= < > = ( ) { } [ ] ; : , . .. && ||
```

**String literals** are written in either single or double-quotes. For example,

```lua
a = 'alo123'
a = "alo123"
```

**Integers** are written either in decimal, octal, or hexadecimal. Hexadecimal numbers begin with the prefix `0x`, octal numbers begin with the prefix `0`. For example,

* `3`, `345` — decimal number
* `0xff`, `0xBEBADA` — hexadecimal number
* `07654321` — octal number

**Real numbers** are written either in conventional or exponential form. For example,

```
3.0
3.1416 
314.16e-2
0.31416E1 
34e1​
```

**Comments** begin with `--` and continue to the end of the line. For example,

```
a = 1; -- remark
```

See the article about the syntax of expressions in the blocks:

{% content-ref url="/pages/-M0P0kE4EwB9x-p35xad" %}
[Syntax of expressions in the blocks](/en/studio/programming-visual/expression-syntax.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.trikset.com/en/studio/programming-visual/expression-syntax/lexemes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
