# Zontroy Syntax

### *<mark style="color:blue;">zg Prefix</mark>*

<figure><img src="/files/c78QVA8Fr0g4UBWGmv15" alt="" width="82"><figcaption></figcaption></figure>

*In Zontroy language keywords starts with **zg** prefix. It allows Zontroy to distinguish code written in Java, Python, Go etc. and Zontroy Language.*&#x20;

*For example, zg-entity is a predefined object of an entity corresponding to a table in database. Another example is zg-for that can execute a block of code a number of times.*&#x20;

### *<mark style="color:blue;">Triple Brackets</mark>*

*Brackets have to be written triple times in Zontroy. It is because while implementing a code file Zontroy code is written into the code of another programming language. It helps Zontroy to distinguish code written in Java, Python, Go etc. and Zontroy Language.*&#x20;

*<mark style="color:blue;">**Parentheses ((( ))):**</mark> Used to group expressions.*

*<mark style="color:blue;">**Curly braces {{{ }}}:**</mark>* *Used to group statements together. They are used to define a code block and are used in control statements (if, for, etc) and classes, methods and other constructs.*

*<mark style="color:blue;">**Square brackets \[\[\[ ]]]:**</mark> Used to operate on pre-defined objects.*

<figure><img src="/files/ioLe8ci8bgsQf3R9jzwh" alt=""><figcaption></figcaption></figure>

### <mark style="color:blue;">Triple Operators</mark>

*Operators and marks have to be written triple times or more in Zontroy. It is because while implementing a code file Zontroy code is written into the code of another programming language.*

*When we implement a for loop we will write triple left parantheses, triple right parantheses, triple left  braces and triple right braces.*&#x20;

*<mark style="color:blue;">**Equality =====:**</mark> Used to compare right side and left side expression. It is used as five equal signs.*

<figure><img src="/files/lcORILnhv00vpupK6URp" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:blue;">**Good to know:**</mark>* *Zontroy IDE has its own hightlighter for Zontroy Language so code written in Zontroy is easy to read and maintain.*
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.zontroy.com/zontroy-offline-code-generator/zontroy-ai-offline-code-generator-tutorial/zontroy-syntax.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
