# Literate Source Code

### Open source on GitHub

The Solidity source code for the Mangrove protocol is available [on GitHub](https://github.com/mangrovedao/mangrove-core).

### Literate source code

The Mangrove protocol is commented in the tradition of [literate programming](https://en.wikipedia.org/wiki/Literate_programming) where natural language and code is intervowen. Thus, the protocol code itself actually constitutes a very readable and comprehensive technical documentation.

A nicely formatted, single webpage representation of the literate source code can be found [here](https://old.docs.mangrove.exchange/MgvDoc/).


---

# 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.mangrove.exchange/dev/protocol/technical-references/literate-source-code.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.
