losfair / losfair/RefineDB

RefineAsm: Better type inference.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
395
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Currently type inference only works for graph parameters, and does not support polymorphic parameter types.

**Improvement 1: Also infer return types**

This probably would require more complex global analysis. Not sure how to do this yet.

**Improvement 2: Polymorphic graph parameters**

This can be implemented by computing the intersection of all types used for each parameter in calls to a graph.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating RefineAsm's type-inference entry point and tracing how graph parameters are analyzed at call sites. The issue proposes two outcomes: infer return types and support polymorphic graph parameters by intersecting the types used for each parameter; it notes that return-type inference needs unresolved global analysis.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.