# Zontroy Syntax

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

<figure><img src="https://2376111118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa0RxPoDArscnrvdRrnX%2Fuploads%2FmIb1f59USpOODM8rrdg2%2Fimage.png?alt=media&#x26;token=fdaddd7b-11d8-4a38-a8e5-7ac3776f227e" 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="https://2376111118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa0RxPoDArscnrvdRrnX%2Fuploads%2FKz8ShjNiM5t5aUjreckb%2Fimage.png?alt=media&#x26;token=ea5c1347-d4ff-47fd-96ec-4ed057edbdca" 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="https://2376111118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa0RxPoDArscnrvdRrnX%2Fuploads%2FypgrOoYRODC2embzyD5J%2Fimage.png?alt=media&#x26;token=8e1499a7-b9b9-4572-ada0-3840b6b70a72" 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 %}
