# Table of Contents

* [Introduction](https://docs.flarescript.dev/introduction)
* [Lexical Conventions](https://docs.flarescript.dev/lexical-conventions)
  * [Comments](https://docs.flarescript.dev/lexical-conventions#comments)
  * [Identifiers](https://docs.flarescript.dev/lexical-conventions#identifiers)
  * [Keywords](https://docs.flarescript.dev/lexical-conventions#keywords)
  * [Literals](https://docs.flarescript.dev/lexical-conventions#literals)
* [Data Types](https://docs.flarescript.dev/data-types)
* [Variables](https://docs.flarescript.dev/variables)
  * [Declaration and Initialization](https://docs.flarescript.dev/variables#declaration-and-initialization)
* [Operators and Expressions](https://docs.flarescript.dev/operators-and-expressions)
  * [Arithmetic Operators](https://docs.flarescript.dev/operators-and-expressions#arithmetic-operators)
  * [Comparison Operators](https://docs.flarescript.dev/operators-and-expressions#comparison-operators)
* [Statements](https://docs.flarescript.dev/statements)
  * [Expression Statements](https://docs.flarescript.dev/statements#expression-statements)
  * [Variable Declarations](https://docs.flarescript.dev/statements#variable-declarations)
  * [Control Flow Statements](https://docs.flarescript.dev/statements#control-flow-statements)
    * If Statements
    * While Loops
    * For Loops
* [Functions](https://docs.flarescript.dev/functions)
  * [Function Declarations](https://docs.flarescript.dev/functions#function-declarations)
  * [Parameters](https://docs.flarescript.dev/functions#parameters)
  * [Return Types](https://docs.flarescript.dev/functions#return-types)
  * [Return Statements](https://docs.flarescript.dev/functions#return-statements)
* [Contracts](https://docs.flarescript.dev/contracts)
  * [Contract Definition](https://docs.flarescript.dev/contracts#contract-definition)
  * [Functions within Contracts](https://docs.flarescript.dev/contracts#functions-within-contracts)
* [Examples](https://docs.flarescript.dev/examples)
  * [Sample Contract](https://docs.flarescript.dev/examples#sample-contract)
* [Testing](https://docs.flarescript.dev/testing)
* [Conclusion](https://docs.flarescript.dev/conclusion)
* [Appendix](https://docs.flarescript.dev/appendix)
  * [Reserved Keywords](https://docs.flarescript.dev/appendix#reserved-keywords)
  * [Future Enhancements](https://docs.flarescript.dev/appendix#future-enhancements)


---

# 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.flarescript.dev/table-of-contents.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.
