Skip to content

Commit 96af312

Browse files
hyperpolymathclaude
andcommitted
feat: initialise RattleScript distribution
RattleScript is AffineScript pre-configured with its Python face. Write Python-style syntax, get affine resource semantics and typed WASM. - Cargo.toml + build.rs + src/main.rs: thin Rust CLI wrapper that pre-injects --face python into every affinescript invocation - examples/hello.rattle + examples/ownership.rattle: starter files - justfile: build, run, check, install, update-affinescript recipes - affinescript submodule: all language logic lives there; sync via `just update-affinescript` after each affinescript release - RSR template structure: full standard scaffold (workflows, docs, machine-readable manifests, verification stubs) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2d230f1 commit 96af312

60 files changed

Lines changed: 497 additions & 192 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: PMPL-1.0-or-later
22
= Dev Container Usage
3-
:author: {{AUTHOR}} <{{AUTHOR_EMAIL}}>
3+
:author: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
44

55
== Overview
66

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: PMPL-1.0-or-later
2-
// Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}>
2+
// Copyright (c) {{CURRENT_YEAR}} Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
//
44
// Dev Container configuration for {{PROJECT_NAME}}
55
// Works with: VS Code Dev Containers, GitHub Codespaces, Gitpod

.github/CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ TEMPLATE INSTRUCTIONS (delete this block before publishing)
66
============================================================================
77
Replace all {{PLACEHOLDER}} values:
88
{{PROJECT_NAME}} - Your project name
9-
{{OWNER}} - GitHub/GitLab username or org
10-
{{REPO}} - Repository name
9+
hyperpolymath - GitHub/GitLab username or org
10+
rattlescript - Repository name
1111
{{CONDUCT_EMAIL}} - Email for conduct reports
1212
{{CONDUCT_TEAM}} - Name of conduct team/committee
1313
{{RESPONSE_TIME}} - Initial response SLA (e.g., 48 hours)
@@ -310,7 +310,7 @@ We thank these communities for their leadership in creating welcoming spaces.
310310

311311
If you have questions about this Code of Conduct:
312312

313-
- Open a [Discussion](https://{{FORGE}}/{{OWNER}}/{{REPO}}/discussions) (for general questions)
313+
- Open a [Discussion](https://github.com/hyperpolymath/rattlescript/discussions) (for general questions)
314314
- Email {{CONDUCT_EMAIL}} (for private questions)
315315
- Contact any maintainer directly
316316

.github/CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Clone the repository
2-
git clone https://{{FORGE}}/{{OWNER}}/{{REPO}}.git
3-
cd {{REPO}}
2+
git clone https://github.com/hyperpolymath/rattlescript.git
3+
cd rattlescript
44

55
# Using Nix (recommended for reproducibility)
66
nix develop
77

88
# Or using toolbox/distrobox
9-
toolbox create {{REPO}}-dev
10-
toolbox enter {{REPO}}-dev
9+
toolbox create rattlescript-dev
10+
toolbox enter rattlescript-dev
1111
# Install dependencies manually
1212

1313
# Verify setup
@@ -17,7 +17,7 @@ just test # Run test suite
1717
1818
### Repository Structure
1919
```
20-
{{REPO}}/
20+
rattlescript/
2121
├── src/ # Source code (Perimeter 1-2)
2222
├── lib/ # Library code (Perimeter 1-2)
2323
├── extensions/ # Extensions (Perimeter 2)
@@ -91,10 +91,10 @@ Use the [feature request template](.github/ISSUE_TEMPLATE/feature_request.md) an
9191
9292
Look for issues labelled:
9393
94-
- [`good first issue`](https://{{FORGE}}/{{OWNER}}/{{REPO}}/labels/good%20first%20issue) — Simple Perimeter 3 tasks
95-
- [`help wanted`](https://{{FORGE}}/{{OWNER}}/{{REPO}}/labels/help%20wanted) — Community help needed
96-
- [`documentation`](https://{{FORGE}}/{{OWNER}}/{{REPO}}/labels/documentation) — Docs improvements
97-
- [`perimeter-3`](https://{{FORGE}}/{{OWNER}}/{{REPO}}/labels/perimeter-3) — Community sandbox scope
94+
- [`good first issue`](https://github.com/hyperpolymath/rattlescript/labels/good%20first%20issue) — Simple Perimeter 3 tasks
95+
- [`help wanted`](https://github.com/hyperpolymath/rattlescript/labels/help%20wanted) — Community help needed
96+
- [`documentation`](https://github.com/hyperpolymath/rattlescript/labels/documentation) — Docs improvements
97+
- [`perimeter-3`](https://github.com/hyperpolymath/rattlescript/labels/perimeter-3) — Community sandbox scope
9898
9999
---
100100

.github/FUNDING.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2-
# Funding platforms for {{OWNER}} projects
2+
# Funding platforms for hyperpolymath projects
33
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
44

5-
github: {{OWNER}}
6-
ko_fi: {{OWNER}}
7-
liberapay: {{OWNER}}
5+
github: hyperpolymath
6+
ko_fi: hyperpolymath
7+
liberapay: hyperpolymath

.github/GOVERNANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ with the community before adoption, even though the BDFL retains final authority
155155

156156
---
157157

158-
<sub>Copyright (c) {{CURRENT_YEAR}} {{OWNER}}. Licensed under PMPL-1.0-or-later.</sub>
158+
<sub>Copyright (c) {{CURRENT_YEAR}} hyperpolymath. Licensed under PMPL-1.0-or-later.</sub>

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2-
# Bug report issue template for {{OWNER}}/{{REPO}}
2+
# Bug report issue template for hyperpolymath/rattlescript
33
name: Bug Report
44
description: Create a report to help us improve
55
title: "[Bug]: "

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2-
# Issue template chooser configuration for {{OWNER}}/{{REPO}}
2+
# Issue template chooser configuration for hyperpolymath/rattlescript
33
blank_issues_enabled: true
44
contact_links:
55
- name: Discussions
6-
url: https://github.com/{{OWNER}}/{{REPO}}/discussions
6+
url: https://github.com/hyperpolymath/rattlescript/discussions
77
about: Ask questions, share ideas, or start a conversation in Discussions.
88
- name: Security Vulnerabilities
9-
url: https://github.com/{{OWNER}}/{{REPO}}/security/advisories/new
9+
url: https://github.com/hyperpolymath/rattlescript/security/advisories/new
1010
about: Report security vulnerabilities privately via GitHub Security Advisories.

.github/ISSUE_TEMPLATE/custom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2-
# Custom issue template for {{OWNER}}/{{REPO}}
2+
# Custom issue template for hyperpolymath/rattlescript
33
name: Other
44
description: Report an issue that does not fit the other categories
55
title: ""

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2-
# Documentation issue template for {{OWNER}}/{{REPO}}
2+
# Documentation issue template for hyperpolymath/rattlescript
33
name: Documentation
44
description: Report unclear, missing, or incorrect documentation
55
title: "[Docs]: "

0 commit comments

Comments
 (0)