From 8eae9e2f06c13d7a1b30e7b33a29fc58d575d63a Mon Sep 17 00:00:00 2001 From: Ewan Croft Date: Wed, 18 Nov 2026 23:23:10 +0000 Subject: [PATCH 1/3] docs: unify README and AGENTS.md styling Co-Authored-By: Mistral Vibe --- AGENTS.md | 13 ++++++++++++- README.md | 23 ++++++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index a938fca..5067752 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ Guidance for AI coding agents working in **selenium**. ## Project overview -an esoteric programming language with a lunar poetic theme that compiles to C. +An esoteric programming language with a lunar poetic theme that compiles to C. - Language: C++ - Default branch: main @@ -33,3 +33,14 @@ Only **Claude** (Anthropic) and **Mistral** (Mistral AI) may be used as coding a - Allowed agent footers are `🤖 Generated with [Claude Code](https://claude.com/claude-code)` and `🤖 Generated with [Mistral Vibe](https://mistral.ai)`. - Do not add `Co-Authored-By:` trailers, `Generated with` footers, author names, or committer identities for any other agent or AI tool. - Do not credit another agent in commit metadata. + +## 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. + +- Agent-assisted commits must credit only one of those agents: + - `Co-Authored-By: Claude ` + - `Co-Authored-By: Mistral Vibe ` +- Allowed agent footers are `🤖 Generated with [Claude Code](https://claude.com/claude-code)` and `🤖 Generated with [Mistral Vibe](https://mistral.ai)`. +- Do not add `Co-Authored-By:` trailers, `Generated with` footers, author names, or committer identities for any other agent or AI tool. +- Do not credit another agent in commit metadata. diff --git a/README.md b/README.md index 7011ca0..898c57a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +

+ CI + Licence + Sponsor +

+ # Selenium compiler Selenium is a small esoteric language with a lunar / poetic surface and a strict, C-like core. @@ -73,7 +79,8 @@ wax Node mid = {2, &tail}; // a global may take the address of an e wax Node[2] pool = [{1, &pool[1]}, {2, nullptr}]; ``` -Global initialisers may be constant expressions, string literals, `nullptr`, function names and addresses of globals (`&x`, `&arr[i]`, `&s.field`). A global may refer to its own address in its initialiser, as in `pool` above. A global initialiser that uses a runtime value is assigned in `main`, but a brace or array list needs every element to be constant. +Global initialisers may be constant expressions, string literals, `nullptr`, function names and addresses of globals (`&x`, `&arr[i]`, `&s.field`). A global may refer to its own address in its initialiser, as in `pool` above. A global initialiser that uses a runtime valu +e is assigned in `main`, but a brace or array list needs every element to be constant. ### Functions @@ -170,7 +177,8 @@ whisper measure(arr); ```selenium wax float f = cast(float, 5); -wax int i = cast(int, 3.14); +wax int i = +cast(int, 3.14); ``` Explicit type conversion between numeric types, bool, and char. @@ -243,7 +251,8 @@ The documented C++ build target is `build/seleniumc`. The runtime helpers are ch - The compiler is intentionally strict — no implicit type coercion. - All types must be declared explicitly. - Top-level `wax`/`seal` declarations are emitted as C globals; everything else runs in `main`. -- Function definitions can appear anywhere at the top level; forward calls are supported. +- Function definitions can appear anywhere at the top leve +l; forward calls are supported. ## Support @@ -251,3 +260,11 @@ If you find this project useful, consider supporting its development: [![Ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/ewancroft) [![GitHub Sponsors](https://img.shields.io/badge/GitHub%20Sponsors-30363D?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sponsors/ewanc26) + +## Contributing + +See [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow and the checks required before opening a pull request. + +## Licence + +See [LICENSE](LICENSE) for the licence terms. From 8cc7a8d3ce88e40829f208986afc4c4df2d2456e Mon Sep 17 00:00:00 2001 From: Ewan Croft Date: Thu, 19 Nov 2026 00:04:01 +0000 Subject: [PATCH 2/3] docs: fix AGENTS.md normalisation Recompute from main with the corrected transform: the previous commit duplicated the allowed-agents block and, in some repos, corrupted line wrapping. Co-Authored-By: Mistral Vibe --- AGENTS.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 5067752..6a623ae 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -33,14 +33,3 @@ Only **Claude** (Anthropic) and **Mistral** (Mistral AI) may be used as coding a - Allowed agent footers are `🤖 Generated with [Claude Code](https://claude.com/claude-code)` and `🤖 Generated with [Mistral Vibe](https://mistral.ai)`. - Do not add `Co-Authored-By:` trailers, `Generated with` footers, author names, or committer identities for any other agent or AI tool. - Do not credit another agent in commit metadata. - -## 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. - -- Agent-assisted commits must credit only one of those agents: - - `Co-Authored-By: Claude ` - - `Co-Authored-By: Mistral Vibe ` -- Allowed agent footers are `🤖 Generated with [Claude Code](https://claude.com/claude-code)` and `🤖 Generated with [Mistral Vibe](https://mistral.ai)`. -- Do not add `Co-Authored-By:` trailers, `Generated with` footers, author names, or committer identities for any other agent or AI tool. -- Do not credit another agent in commit metadata. From 2e5147f016a4e42969b51076580c87e6afb41e1a Mon Sep 17 00:00:00 2001 From: Ewan Croft Date: Thu, 19 Nov 2026 00:15:21 +0000 Subject: [PATCH 3/3] docs: fix README styling Recompute from main with the corrected transform: the previous commit contained line-wrap corruption introduced by a faulty fetch path. Co-Authored-By: Mistral Vibe --- README.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 898c57a..1f8de86 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@

CI + Latest release Licence Sponsor

@@ -79,8 +80,7 @@ wax Node mid = {2, &tail}; // a global may take the address of an e wax Node[2] pool = [{1, &pool[1]}, {2, nullptr}]; ``` -Global initialisers may be constant expressions, string literals, `nullptr`, function names and addresses of globals (`&x`, `&arr[i]`, `&s.field`). A global may refer to its own address in its initialiser, as in `pool` above. A global initialiser that uses a runtime valu -e is assigned in `main`, but a brace or array list needs every element to be constant. +Global initialisers may be constant expressions, string literals, `nullptr`, function names and addresses of globals (`&x`, `&arr[i]`, `&s.field`). A global may refer to its own address in its initialiser, as in `pool` above. A global initialiser that uses a runtime value is assigned in `main`, but a brace or array list needs every element to be constant. ### Functions @@ -177,8 +177,7 @@ whisper measure(arr); ```selenium wax float f = cast(float, 5); -wax int i = -cast(int, 3.14); +wax int i = cast(int, 3.14); ``` Explicit type conversion between numeric types, bool, and char. @@ -251,8 +250,7 @@ The documented C++ build target is `build/seleniumc`. The runtime helpers are ch - The compiler is intentionally strict — no implicit type coercion. - All types must be declared explicitly. - Top-level `wax`/`seal` declarations are emitted as C globals; everything else runs in `main`. -- Function definitions can appear anywhere at the top leve -l; forward calls are supported. +- Function definitions can appear anywhere at the top level; forward calls are supported. ## Support @@ -260,11 +258,10 @@ If you find this project useful, consider supporting its development: [![Ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/ewancroft) [![GitHub Sponsors](https://img.shields.io/badge/GitHub%20Sponsors-30363D?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sponsors/ewanc26) +## Licence + +See [LICENSE](LICENSE) for the licence terms. ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow and the checks required before opening a pull request. - -## Licence - -See [LICENSE](LICENSE) for the licence terms.