port(ts->affine): port telegram bot + axel-protocol tests to AffineScript#45
Merged
Merged
Conversation
…ript Closes hyperpolymath/affinescript#65. Both blocking issues have landed: - affinescript#35 (Node-CJS backend) -- CLOSED - affinescript#42 (extern type/fn parsing) -- CLOSED Changes: - avow-protocol/telegram-bot: stamp-mock, database, bot, test-mock -> .affine - axel-protocol/src: AxelSts.res + .res.js -> AxelSts.affine (native parser) - axel-protocol/test: axel-sts_test, validate-policy, validate-policy_test -> .affine Extern stdlib modules (Grammy, Sqlite, Network, Crypto, Ajv) added in companion PR against hyperpolymath/affinescript (feat/stdlib-extern-bindings). The test-mock.affine and axel-sts_test.affine are self-contained and run directly under affinescript-deno-test (pub fn test_<name>() -> Bool convention). The bot.affine, database.affine, validate-policy*.affine files use --target node-cjs and require the Node-CJS shim from affinescript#35. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes hyperpolymath/affinescript#65.
Ports all TypeScript and ReScript files identified in the TS-elimination audit (2026-05-02, recommendation #9) to AffineScript. Both blocking issues are now closed: affinescript#35 (Node-CJS backend) and affinescript#42 (\�xtern type\ / \�xtern fn\ parsing).
Files changed
Added (AffineScript ports):
Deleted:
Extern stdlib modules
\�ot.affine, \database.affine, \�alidate-policy*.affine\ depend on extern binding modules added in companion PR hyperpolymath/affinescript#100 (Grammy, Sqlite, Network, Crypto, Ajv). Merge that PR first.
Test plan
🤖 Generated with Claude Code