The Solidity to IELE Compiler – IELE编译器的可靠性区块链毕设代写
区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,The Solidity to IELE Compiler – IELE编译器的可靠性区块链毕设代写 是一篇很好的国外资料
The Solidity to IELE Compiler
This is the Solidity to IELE compiler, a fork of the Solidity compiler targeting the IELE virtual machine (instead of the EVM).
To learn more about the supported Solidity features and the main differences between the IELE and EVM compilers, see README-IELE-SUPPORT.
Solidity is a statically typed, contract-oriented, high-level language for implementing smart contracts on the Ethereum platform.
Building
Prerequisites
- install IELE.
Dependencies
To easily install the required dependencies on your system, run
sudo ./scripts/install_deps.sh
We have successfully tested the script on the following operating systems:
- Darwin
- Ubuntu
- Arch Linux
- Debian
- Fedora
- Alpine Linux
Build the compiler
mkdir build cd build cmake .. make
Usage
Use the compiler like this:
./build/solc/isolc --asm <solidity file>
To run the compilation tests:
./test/ieleCmdlineTests.sh
Failed tests reported are stored in test/failed
, clean them before rerunning:
rm -rf test/failed
To run the execution test suite, first start an IELE vm in separate terminal (this assumes that IELE binaries are found in the system’s PATH):
kiele vm --port 9001
Then, start the iele-test-client
script in a separate terminal:
iele-test-client <path to Solidity-to-IELE build directory>/ipcfile 9001
Note that, you may need to delete an existing ipcfile
before you restart this script.
Finally, you can run the whole execution test suite with:
./build/test/soltest --no_result_code --report_level=short `cat test/failing-exec-tests` -- --enforce-no-yul-ewasm --ipcpath build/ipcfile --testpath test
Alternatively, you can run a specific test with:
./build/test/soltest --no_result_code -t <test name> -- --enforce-no-yul-ewasm --ipcpath build/ipcfile --testpath test
where <test name>
is the name with which the test is registered in the test suite. For example, the test found in test/libsolidity/semanticTests/operators/shifts/shift_right.sol
, is registered in the test suite with the name semanticTests/operators/shifts/shift_right
.
The Solidity to IELE Compiler
This is the Solidity to IELE compiler, a fork of the Solidity compiler targeting the IELE virtual machine (instead of the EVM).
To learn more about the supported Solidity features and the main differences between the IELE and EVM compilers, see README-IELE-SUPPORT.
Solidity is a statically typed, contract-oriented, high-level language for implementing smart contracts on the Ethereum platform.
Building
Prerequisites
- install IELE.
Dependencies
To easily install the required dependencies on your system, run
sudo ./scripts/install_deps.sh
We have successfully tested the script on the following operating systems:
- Darwin
- Ubuntu
- Arch Linux
- Debian
- Fedora
- Alpine Linux
Build the compiler
mkdir build cd build cmake .. make
Usage
Use the compiler like this:
./build/solc/isolc --asm <solidity file>
To run the compilation tests:
./test/ieleCmdlineTests.sh
Failed tests reported are stored in test/failed
, clean them before rerunning:
rm -rf test/failed
To run the execution test suite, first start an IELE vm in separate terminal (this assumes that IELE binaries are found in the system’s PATH):
kiele vm --port 9001
Then, start the iele-test-client
script in a separate terminal:
iele-test-client <path to Solidity-to-IELE build directory>/ipcfile 9001
Note that, you may need to delete an existing ipcfile
before you restart this script.
Finally, you can run the whole execution test suite with:
./build/test/soltest --no_result_code --report_level=short `cat test/failing-exec-tests` -- --enforce-no-yul-ewasm --ipcpath build/ipcfile --testpath test
Alternatively, you can run a specific test with:
./build/test/soltest --no_result_code -t <test name> -- --enforce-no-yul-ewasm --ipcpath build/ipcfile --testpath test
where <test name>
is the name with which the test is registered in the test suite. For example, the test found in test/libsolidity/semanticTests/operators/shifts/shift_right.sol
, is registered in the test suite with the name semanticTests/operators/shifts/shift_right
.
部分转自网络,侵权联系删除区块链源码网
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » The Solidity to IELE Compiler – IELE编译器的可靠性区块链毕设代写