# æREPL

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>aeREPL documentation</td><td><a href="/spaces/yxhRUAwn7tH8JUboTur7/pages/42QKqv8El1jrxYGosuw4">/spaces/yxhRUAwn7tH8JUboTur7/pages/42QKqv8El1jrxYGosuw4</a></td><td><a href="/files/Mn0raWPCGdVF9LgIRfVj">/files/Mn0raWPCGdVF9LgIRfVj</a></td></tr><tr><td>aeREPL Web Bridge</td><td><a href="/spaces/yxhRUAwn7tH8JUboTur7/pages/YwxHE0Gf7IDMyLYlAMcz">/spaces/yxhRUAwn7tH8JUboTur7/pages/YwxHE0Gf7IDMyLYlAMcz</a></td><td><a href="/files/vZyGDyzw08V42czk9Gxx">/files/vZyGDyzw08V42czk9Gxx</a></td></tr></tbody></table>

The æREPL (æternity Read-Eval-Print Loop) is an interactive shell for the Sophia programming language that enables developers to experiment with and test Sophia code in real-time. This powerful development tool allows users to evaluate Sophia expressions, define functions and types, work with contract code, and maintain state - all without needing to connect to a remote network or use Docker containers. The interface is inspired by GHCi (Haskell's interactive environment) and provides convenient features like type checking, file loading, and state management.

The REPL maintains its own internal state and supports multiple output formats, including Sophia-compatible syntax, FATE runtime representation, and JSON encoding. It can be used either through its command-line interface or as a library through its generic server interface, making it versatile for different development workflows. The tool serves as an essential resource for developers working with Sophia, allowing them to rapidly prototype code, test contract behavior, and better understand the language's features in an isolated environment.


---

# 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.aeternity.com/aeternity-developer-tools/markdown/aerepl.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.
