File-level inline assembly blocks
Open
low effort
medium impact
must have eventually
- Dominant language
- C++
- Stars
- 25.7k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 21
Description
Just like free functions, inline assembly blocks could be allowed at file level. This would make it possible to write helper functions in yul that can be called from any inline assembly block. Maybe we could even import these yul functions using import statements.
Contributor guide
Research direction
Start by studying how free functions and inline assembly blocks are currently represented and resolved in the Solidity compiler. Then investigate how file-level Yul functions would interact with calls from separate inline assembly blocks and whether import statements should be supported. Done means the language design, scope, and required implementation and tests are agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain, compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100