miruscriptx 1.2.0

MiruScriptX: a complete, general-purpose scripting language written from scratch in Rust.
Documentation
<div align="center">
  <a href="README.md"><img src="assets/Miru.png" alt="MiruScriptX" height="44"></a>
</div>

# Contributing to MiruScriptX

Thanks for your interest in MiruScriptX, a small, general-purpose scripting
language written in Rust. Contributions of all kinds are welcome: bug reports,
documentation fixes, new examples, and language features.

## Ways to contribute

- Report a bug or request a feature by opening an issue.
- Improve the documentation in `wiki/` or `docs/`.
- Add an example program in `examples/`.
- Implement a language feature or a builtin.

Before starting significant work, please open an issue to discuss it, so we can
agree on the approach before you spend time on a pull request.

## Development setup

You need a recent stable Rust toolchain (via rustup). Then:

    git clone https://github.com/stiven-gjekaj/miruscriptx
    cd miruscriptx
    cargo build

Run a program:

    cargo run -- run examples/greet.miru

Start the REPL:

    cargo run

## Before you open a pull request

Every change must keep the project green. Run these locally, exactly as CI does:

    cargo fmt --all --check
    cargo clippy --all-targets -- -D warnings
    cargo test

- `cargo fmt` keeps formatting consistent; CI fails on any diff.
- `cargo clippy` runs with warnings denied. Fix warnings rather than allowing
  them, unless there is a clear reason.
- `cargo test` runs the unit tests (next to each module) and the end-to-end
  tests in `tests/`. Add tests for anything you change.

If you change how programs are evaluated, add cases to `tests/golden.rs`, which
pairs each program with the exact outcome it must produce, including the line
and column an error points at. Write those expectations as literals: a test that
regenerates its expected value cannot fail, and so cannot catch a regression.

Benchmarks live in `benches/`; run them with `cargo bench`. Read the module docs
there before drawing a conclusion from one. The harness has a noise floor of
roughly four percent that looks exactly like a real result, so a change under
five percent is unmeasured rather than small.

## Coding style

- Match the surrounding code. The project favors small, focused functions and
  clear names over cleverness.
- Add dependencies sparingly. MiruScriptX keeps a small, curated dependency set:
  rustyline for REPL history at runtime, and criterion for benchmarks as a
  dev-dependency (it never ships to anyone running a MiruScriptX program). The
  README badge counts both, so a viewer sees the real total. A pull request that
  adds a dependency should justify the need and prefer the standard library
  where practical.
- Write documentation and comments in plain prose. Do not use em-dashes or
  emoji in source, docs, commit messages, or examples.

## Where things live

See `docs/architecture.md` for a tour of the pipeline (lexer, parser, compiler,
virtual machine, builtins) and notes on how to add a builtin, an operator, a
statement, or an opcode.

## Commit messages and pull requests

- Write clear, present-tense commit subjects that describe the change.
- Keep each commit focused on one logical change.
- In your pull request, describe what changed and why, and note how you tested
  it. If it changes the language, update the relevant `wiki/` lesson and
  regenerate the reference with `scripts/build_reference.sh`.

## Reporting security issues

Please do not open a public issue for a security problem. See
[SECURITY.md](SECURITY.md) for how to report it privately.

## Code of conduct

By taking part in this project you agree to abide by the
[Code of Conduct](CODE_OF_CONDUCT.md).