You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
We need to start the path that allows multiple machines. This is a complex refactoring, and from the SBPIR on we will build new compiler to the plonkish IR. But this is not in this task.
We should allow the main compiler src -> SBPIR to return several machines.
For that I would:
rename the current compiler::compile function to compiler::compile_legacy and compiler::CompilerResult to compiler::CompilerResultLegacy. We need this so the previous examples and tests keep working. It should be easy with a refactoring tool like in vscode.
Rename sbpir::SBPIR to sbpir::SBPIRMachine.
Create a new sbpir::SBPIR that contains a hashmap of uuid -> SBPIRMachine and another hashmap from identifier -> uuid.
Create a new compiler::compile that can take a source code with several machines and returns a new compiler::CompilerResult that contains the new sbpir::SBPIR
The text was updated successfully, but these errors were encountered:
Even, better SBPIR renamed to SBPIRLegacy and a copy of SBPIR becomes SBPIRMachine that we will be able to modify SBPIRMachine a lot, and create a new plonkish compiler.
Eventually this will end up removing the SuperCircuits that are not that good design, but we inherited from zkEVM.
We need to start the path that allows multiple machines. This is a complex refactoring, and from the SBPIR on we will build new compiler to the plonkish IR. But this is not in this task.
We should allow the main compiler src -> SBPIR to return several machines.
For that I would:
compiler::compile
function tocompiler::compile_legacy
andcompiler::CompilerResult
tocompiler::CompilerResultLegacy
. We need this so the previous examples and tests keep working. It should be easy with a refactoring tool like in vscode.sbpir::SBPIR
tosbpir::SBPIRMachine
.sbpir::SBPIR
that contains a hashmap of uuid -> SBPIRMachine and another hashmap from identifier -> uuid.compiler::compile
that can take a source code with several machines and returns a newcompiler::CompilerResult
that contains the newsbpir::SBPIR
The text was updated successfully, but these errors were encountered: