# Documentation

## Documentation

- [What is Lua++?](https://docs.luaplusplus.org/overview/what-is-lua++.md): Lua++ is a fast, object-oriented programming language derived from Lua 5.1. Its goal is to bring all of today's modern features to Lua while having energy efficiency in mind.
- [Why Lua++?](https://docs.luaplusplus.org/overview/why-lua++.md)
- [Compound Assignments](https://docs.luaplusplus.org/language-improvements/compound-assignments.md)
- [Postfix and Prefix Operators](https://docs.luaplusplus.org/language-improvements/postfix-and-prefix-operators.md)
- [The Continue Statement](https://docs.luaplusplus.org/language-improvements/the-continue-statement.md)
- [Constant Variables](https://docs.luaplusplus.org/language-improvements/constant-variables.md)
- [Type Annotations](https://docs.luaplusplus.org/language-improvements/type-annotations.md)
- [Function Annotations](https://docs.luaplusplus.org/language-improvements/type-annotations/function-annotations.md)
- [Classes](https://docs.luaplusplus.org/language-improvements/classes.md)
- [Constructors](https://docs.luaplusplus.org/language-improvements/classes/constructors.md)
- [Templating](https://docs.luaplusplus.org/language-improvements/classes/templating.md)
- [Inheritance](https://docs.luaplusplus.org/language-improvements/classes/inheritance.md)
- [Encapsulation](https://docs.luaplusplus.org/language-improvements/classes/encapsulation.md)
- [Events](https://docs.luaplusplus.org/language-improvements/events.md)
- [Macros](https://docs.luaplusplus.org/language-improvements/macros.md)
- [Lenient](https://docs.luaplusplus.org/language-improvements/macros/lenient.md)
- [Comment](https://docs.luaplusplus.org/language-improvements/macros/comment.md)
- [C-Arrays](https://docs.luaplusplus.org/language-improvements/macros/c-arrays.md)
- [Installing the Project](https://docs.luaplusplus.org/contributing/installing-the-project.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.luaplusplus.org/overview/what-is-lua++.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.
