# Welcome!

Powerlang is a new programming language designed to replace RetroStudio's Visual Scripting system. It was written with Lua in mind, meaning that it's easy to both learn and adapt existing Lua scripts to. Powerlang code directly translates to Visual Scripting code, meaning you can read and modify the output as you desire.

{% hint style="info" %}
I suggest to have basic knowledge of both Lua and Visual Scripting before proceeding with learning Powerlang. This guide is intended for readers with basic programming knowledge!
{% endhint %}

Ready to dive in? Start with the [Beginner's Guide](/powerlang-docs/beginners-guide/syntax.md)!

If you're confident in your skills, follow this guide to [create your first Powerlang game](/powerlang-docs/creating-a-game/project-introduction-potato-rush.md)!

If you're an advanced user and would like to have an in-depth look, be sure to check out [Advanced Information](/powerlang-docs/advanced-information/instance-functions.md).

Or if you're simply looking for library documentation, see [Libraries](/powerlang-docs/libraries/special-types.md).

***

If you're coming from Lua, these beginner articles will be of interest to you: [Directives](/powerlang-docs/beginners-guide/directives.md), [Special types](/powerlang-docs/beginners-guide/special-types.md), [Functions](/powerlang-docs/beginners-guide/functions.md), [Tables](/powerlang-docs/beginners-guide/tables.md), [Loops](/powerlang-docs/beginners-guide/loops.md), [Events](/powerlang-docs/beginners-guide/events.md) and [Libraries](/powerlang-docs/beginners-guide/libraries.md).

**This documentation is still a Work In Progress, if you have any suggestions, please be sure to tell them!**

***

Run `print(compiler.credits())` in Powerlang to see the most up-to-date credits.


---

# 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://vopwn55.gitbook.io/powerlang-docs/welcome.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.
