diff --git a/AGENTS.md b/AGENTS.md index 6d9bb66..924ca63 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,24 +1,31 @@ # AGENTS.md -Guidance for coding agents working in Numlang. +Guidance for AI coding agents working in **numlang**. ## Project overview +Numlang is an esoteric stack-based language with an in-progress C++20 compiler that emits C. The historical Python compiler is retained as a reference implementation while C++ feature parity is rebuilt. + +- Language: C++ - Primary executable: C++20 compiler `numlangc`, emitting C source. - `numlang/` is the retained Python reference compiler, not the C++ implementation. - The C++ port currently supports a limited core subset; see `docs/cpp-compiler-status.md`. -- Default branch: `main`. +- Default branch: main ## Working rules +- Inspect the README, manifests, CI workflows, and nearby code before editing. +- Preserve existing architecture, naming, formatting, and error-handling conventions. +- Use project scripts for validation; never claim checks you did not run. +- Keep changes scoped and update tests or documentation when behavior changes. +- Use feature branches and pull requests. +- Treat generated files, credentials, deployment configuration, and release metadata as sensitive. - Inspect README.md, CMakeLists.txt, tests, and CI before editing. - Keep C++ feature claims, tests, and capabilities.json synchronized. - Fail closed for unsupported opcodes and source syntax. - Do not claim the C++ port is feature-complete because the Python reference supports a feature. - Keep build outputs and temporary compiler artifacts out of version control. -- Use feature branches and pull requests; never claim checks that were not run. - ## Allowed agents Only **Claude** (Anthropic) and **Mistral** (Mistral AI) may be used as coding agents in this repository. This rule supersedes any earlier agent-attribution guidance in this file. diff --git a/README.md b/README.md index 7e26c0f..b96ddf4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +
+ # Numlang compiler Numlang is an esoteric stack-based language with an in-progress C++20 compiler that emits C. The historical Python compiler is retained as a reference implementation while C++ feature parity is rebuilt. @@ -664,3 +670,11 @@ If you find this project useful, consider supporting its development: