# Development of mhy

## Setup environment (an environment to develop `mhy` itself!)

1. Fork repository
2. Open `mhy`'s `package.json` file.
3. Rewrite the values for `name` and `bin` to something else (eg: `mhyd`).
4. Run `npm link` ([See npmjs.org](https://docs.npmjs.com/cli/link.html))
5. The above command will make your local version of `mhy` available globally with the command (`mhyd`).
6. Create PR when done (do not commit in the changes for the naming).

> Use `npm run build -- --watch` to watch for file changes.
>
> The name rewrite is needed because `mhy` itself is being built using `mhy` which is why you also need an untouched stable version of it.
>
> The environment should work fine on Linux, Mac and Windows also.

## Creating processes/commands

Coming soon...


---

# 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://mhy.js.org/others/development.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.
