From b3f4b0f4bd36d8f118402f445d23921a862675e1 Mon Sep 17 00:00:00 2001 From: codex Date: Thu, 19 Mar 2026 13:32:15 +0530 Subject: [PATCH 1/2] pre0.0.5-rollout-codex --- .factory/settings.json | 5 +++++ .gitmodules | 2 +- primer.md | 17 ++++++++++------- test-ext.rey | 0 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .factory/settings.json create mode 100644 test-ext.rey diff --git a/.factory/settings.json b/.factory/settings.json new file mode 100644 index 0000000..565f14a --- /dev/null +++ b/.factory/settings.json @@ -0,0 +1,5 @@ +{ + "enabledPlugins": { + "core@factory-plugins": true + } +} \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 2171bfc..ad9a7e1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "rey-vscode"] path = rey-vscode - url = https://github.com/rey-language/rey-vscode.git + url = https://github.com/rey-language/rey-vscode.git: diff --git a/primer.md b/primer.md index 55e32bd..77eac1e 100644 --- a/primer.md +++ b/primer.md @@ -1,5 +1,5 @@ # Primer — rey-lang -Last updated: Mar 17, 2026 (session end) +Last updated: Mar 19, 2026 (session start) ## What this project is Rey is a custom programming language built by Misbah. Currently on v0 — a tree-walking interpreter written in Rust. The language has C-like syntax with type inference, functions, control flow, and basic builtins. v0 is the working prototype; future versions will likely move toward compilation. @@ -49,9 +49,12 @@ Run any of them with cargo run -- src/tests/.rey - `cargo build --release` succeeds - release binaries + notes are staged in `releases/0.0.4-pre/` -## For next session -- Consider tightening the language spec (what is int vs float at runtime, truthiness rules, dictionary key restrictions). -- Add negative tests for type errors once there's a harness for expected-failure cases. -- Submit upstream PRs: - - `github-linguist/linguist` for Rey language recognition - - VSCode Marketplace publish for `rey-vscode/` (optional) +## Next up (v0.0.5-pre batch) +- Implement missing operators: `++`, `--`, `+=`, `-=`, `*=`, `/=`, `%=`, and `%` modulo. +- Add additional variable types: `char`, `uint`, `double`, `byte`. +- Add multiline strings using `""" ... """`. +- Add null safety: nullable types (`int?`), `null` comparisons, and clean error on `null` access. +- Implement struct system (fields + methods + construction + method calls + pub/private + overloading). +- Add `try`/`catch` error handling. +- Expand `src/tests/` with comprehensive coverage and ensure all tests pass. +- Update `syntax.md`, `primer.md`, and `CHANGELOG.md`, then ship `releases/0.0.5-pre/`. diff --git a/test-ext.rey b/test-ext.rey new file mode 100644 index 0000000..e69de29 From d1a379c8d2f0a133a0851552fa0b10c20b6c245d Mon Sep 17 00:00:00 2001 From: codex Date: Thu, 19 Mar 2026 14:24:34 +0530 Subject: [PATCH 2/2] Merge branch 'master' into codex --- .factory/settings.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .factory/settings.json diff --git a/.factory/settings.json b/.factory/settings.json deleted file mode 100644 index 565f14a..0000000 --- a/.factory/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "enabledPlugins": { - "core@factory-plugins": true - } -} \ No newline at end of file