argumentcomputer / argumentcomputer/Wasm.lean

Safety: Bit sizes and overflows

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lean
Stars
48
Forks
6
PR merge metrics
No merged PRs in 30d

Description

# Why?

Lean has big arithmetics, WASM, obviously, not.

# How

- [ ] Before constructing an Int or anything else, check bit size of the constructed object
- [ ] Same applies when we create a new object as a result of an operation on some objects

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating where Int values and operation results are constructed, then determine the WebAssembly bit-size limits that must be enforced. Done means oversized constructions and arithmetic results are checked consistently, with tests covering overflow cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.