Expand `SymbolTable`s to include all transactions in a `.prot` file
Open
enhancement
- Dominant language
- Rust
- Stars
- 15
- Forks
- 0
- Avg merge
- 6h 20m
- Merged PRs (30d)
- 15
Description
Right now, we create a new `SymbolTable` for each transaction (`fn` definition) in a `.prot` file. Ideally, we'd like to merge `SymbolTable`s for transactions within the same file into one big `SymbolTable`, although we'll need to handle issues w/ scoping:
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating where a SymbolTable is created for each fn definition while processing a .prot file, then trace the existing scope handling. Determine how transactions can share one file-level table without leaking names across scopes; done means all transactions in a file use the merged table with correct scoping.
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
- 35/100