Feature: JSON Compiler Interface
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 218
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 8
Description
I am sure you are aware that Solidity has a JSON based compiler interface, called the "Standard JSON I/O". Documentation [here](https://docs.soliditylang.org/en/v0.8.6/using-the-compiler.html#compiler-input-and-output-json-description). This JSON schema has a `language` field, which we already utilise to select a Solidity or Yul mode.
I think it would be nice if Fe could adopt this schema as well. This could help in having an easier integration with Remix or other tools. As far as I know, most frameworks (including Hardhat, Truffle, etc.) support it.
I suggest to use `Fe` for the `language` field, but also consider using the schema as the `Solidity` target.
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the linked Solidity Standard JSON I/O description and the existing language-mode handling mentioned in the issue. Define the supported input and output behavior and the required tests before implementation; done means the agreed schema works for Fe and supports the intended Remix or framework integration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, solidity
- Domain
- compilers, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100