# Appendix

## Keywords

The following list shows the keywords and reserved words for ola-lang.

| keywords | explanation                                                |
| -------- | ---------------------------------------------------------- |
| const    | Constants declaration                                      |
| type     | Type alias declaration                                     |
| struct   | Structure declaration                                      |
| enum     | Definition of a enum                                       |
| fn       | Function declaration                                       |
| for      | Ronditional loop based on the result of the expression     |
| do       | do while statement                                         |
| while    | do while / while statement                                 |
| break    | break loop                                                 |
| continue | continue loop                                              |
| if       | Result selection branches based on conditional expressions |
| else     | Candidate statements for `if` control flow                 |
| return   | Function returns results                                   |
| bool     | Boolean value                                              |
| u32      | uint32 value                                               |
| u64      | uint64 value                                               |
| u256     | uint256 value                                              |
| field    | The field element within the scope of `p`                  |
| address  | address value                                              |
| hash     | hash value                                                 |
| fields   | field dynamic length array                                 |
| string   | string value                                               |
| true     | boolean ture                                               |
| false    | boolean false                                              |
| assert   | Assertion of the input expression                          |
| import   | Importing other files                                      |
| contract | Definition of a smart contract                             |

## Reservation keywords

```solidity
pub
impl
loop
use
match
static
u128
in
override
```


---

# 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://ola-foundation.gitbook.io/ola-lang/appendix.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.
