> For the complete documentation index, see [llms.txt](https://docs.zontroy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zontroy.com/zontroy-offline-code-generator/zontroy-ai-offline-code-generator-tutorial/zontroy-syntax.md).

# 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 %}
