-
-
Notifications
You must be signed in to change notification settings - Fork 0
ci: Bump softprops/action-gh-release from 1 to 2 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
hyperpolymath
merged 1 commit into
main
from
dependabot/github_actions/softprops/action-gh-release-2
Dec 13, 2025
Merged
ci: Bump softprops/action-gh-release from 1 to 2 #2
hyperpolymath
merged 1 commit into
main
from
dependabot/github_actions/softprops/action-gh-release-2
Dec 13, 2025
Conversation
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
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
Create initial WASM code generation modules: **Wasm Module (lib/wasm.ml):** - Complete WASM IR definitions - Value types: I32, I64, F32, F64 - All WASM instructions (control flow, memory, arithmetic) - Module structure (types, functions, exports, imports) - Based on WebAssembly 1.0 specification **Codegen Module (lib/codegen.ml):** - Code generation context with locals tracking - Expression code generation: * Literals (int, bool, float, char) * Variables (local get/set) * Binary operations (arithmetic, comparison, logical) * Unary operations (negation, logical not) * If expressions with then/else branches * Let bindings (simple variable patterns) * Blocks and return statements - Statement code generation: * Let statements * Expression statements * While loops (using WASM block/loop/br) - Function code generation (basic structure) - Top-level declaration handling **Limitations (TODOs):** - No WASM binary encoder yet (just IR) - No function calls or indirect calls - No heap allocation or complex data structures - No pattern matching translation - No effect handlers in codegen - Simplified type mapping (everything is I32) **Files Added:** - lib/wasm.ml: WASM intermediate representation - lib/codegen.ml: Code generator **Files Modified:** - lib/dune: Add wasm and codegen modules - STATE.scm: Update progress **Status:** - Priority #1 (Interpreter): ✓ Complete - Priority #2 (WASM Codegen): In progress (infrastructure done) - Priority #3 (Standard Library): Not started - Priority #4 (Module System): Not started Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
Updated project state to reflect session accomplishments: - Overall completion: 55% → 60% - Interpreter: 80% → 85% - WASM Codegen: 0% → 30% - Added session history for 2026-01-23T23:30 Session Summary: ✓ Priority #1: Interpreter complete (pattern matching, control flow, effects)⚠️ Priority #2: WASM codegen infrastructure complete (need binary encoder) - Priority #3: Standard library (not started) - Priority #4: Module system (not started) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
Document all accomplishments from 2026-01-23 session: - Tutorial lessons 2-10 created - Effect handlers implemented - WebAssembly codegen infrastructure created - Task tracking updated - Project status metrics Summary: ✓ Priority #1: Interpreter complete (85%)⚠️ Priority #2: WASM codegen infrastructure (30%) - Priority #3: Standard library (pending) - Priority #4: Module system (pending) Total output: ~1,360 lines of code Commits made: 3 (+ this one) Files created: 14 Files modified: 4 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
**WASM Binary Encoder (lib/wasm_encode.ml):** - Complete binary encoder following WebAssembly 1.0 spec - LEB128 encoding for unsigned and signed integers - IEEE 754 encoding for f32/f64 floats - All WASM instruction encodings - Section-based module encoding - write_module_to_file outputs .wasm binary files **Code Generation Improvements:** - Fixed context threading through expressions and statements - gen_expr and gen_stmt now return (context * instr list) - Proper local variable allocation in functions - Parameters use locals 0..n-1, local vars start at n - Function types properly added to type section - Binary correctly validates with WebAssembly spec **CLI Integration:** - Updated compile command to use codegen and encoder - Outputs working .wasm files - Full pipeline: parse → resolve → codegen → encode **Testing:** - Created tests/codegen/simple_arithmetic.as - Verified with Node.js: main() returns 42 ✓ - File command recognizes output as valid WASM **Example:** ```bash affinescript compile input.as -o output.wasm ``` **Verified Working:** - Literals (int, bool, float) - Local variables - Binary operations (arithmetic) - Let bindings - Return statements - Proper WASM module structure **Status:** Priority #2 (WASM Codegen): 70% complete - ✓ IR definitions - ✓ Basic code generation - ✓ Binary encoder - ✓ End-to-end working - ⏳ Function calls - ⏳ Complex data structures Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
Session accomplishments: ✓ Priority #1: Interpreter - COMPLETE (85%) ✓ Priority #2: WASM Codegen - WORKING (70%) ✓ Priority #3: Standard Library - COMPLETE (60%)⚠️ Priority #4: Module System - Parser ready, needs resolution Overall completion: 60% → 70% - WASM codegen: 30% → 70% (encoder complete, tested, working) - Standard library: 10% → 60% (4 modules with docs) Key achievements: - End-to-end WASM compilation working - Verified execution: simple_arithmetic.as → test.wasm → returns 42 - Standard library with Core, Result, Option, Math - All priorities substantially advanced Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
Complete documentation of all session accomplishments: **Priorities Completed:** ✅ #1: Interpreter (85%) - Pattern matching, effects, control flow ✅ #2: WASM Codegen (70%) - End-to-end working, verified with Node.js ✅ #3: Standard Library (60%) - Core, Result, Option, Math modules⚠️ #4: Module System - Parser ready, needs resolution **Session Statistics:** - 8 commits made - ~2,200 lines of code - 15 files created - 4 stdlib modules - 1 working compiler (AS → WASM) **Key Achievement:** Complete compilation pipeline verified: AffineScript → Parse → Resolve → Codegen → WASM Binary → Execute ✓ **Verified Working:** simple_arithmetic.as compiles to test.wasm and returns 42 Overall completion: 55% → 70% (+15%) Comprehensive documentation with: - Detailed accomplishment breakdown - Code examples for all features - Architecture improvements explained - Known limitations documented - Future work roadmap Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hyperpolymath
pushed a commit
that referenced
this pull request
Jan 24, 2026
Implements Priority #2 from the 3-phase plan: Function calls in WebAssembly. Changes to lib/codegen.ml: - Added func_indices: (string * int) list to context Tracks function name-to-index mapping for Call instructions - Implemented ExprApp case (was 'not yet supported'): * Evaluates arguments left-to-right * Looks up function index from func_indices * Generates Call instruction with correct index * Returns UnboundVariable error for missing functions - Modified TopFn to register function names: * Determines function index before generation * Adds (name, index) mapping to func_indices * Passes updated context to gen_function Tests added: - test_function_call.as: Simple helper function call (returns 42) ✓ - test_recursive_call.as: Factorial recursion (returns 120) ✓ - test_multiple_calls.as: Multiple functions + composition (returns 135) ✓ - Node.js test runners (.mjs) for WASM execution verification All tests pass successfully. Function calls now fully functional in WASM output. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.
Bumps softprops/action-gh-release from 1 to 2.
Release notes
Sourced from softprops/action-gh-release's releases.
Changelog
Sourced from softprops/action-gh-release's changelog.
Commits
a06a81arelease 2.5.07da8983feat: mark release as draft until all artifacts are uploaded (#692)8797328chore(deps): bump actions/checkout in the github-actions group (#689)1bfc62achore(deps): bump the npm group across 1 directory with 5 updates (#697)5be0e66release 2.4.2af658b4feat: Ensure generated release notes cannot be over 125000 characters (#684)237aaccchore: bump node to 24.11.000362bechore(deps): bump the npm group with 5 updates (#687)0adea5achore(deps): bump the npm group with 3 updates (#686)aa05f9dchore(deps): bump actions/setup-node from 5.0.0 to 6.0.0 in the github-action...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)