Evaluates an FM-Net graph inside the Ethereum Virtual Machine.
ATENTION: The FM-Net -> EVM interpreter is still under heavy testing and development phase.
- Clone this repository in your machine
- Make sure you have go-ethereum and nodejs installed
- Modify the code variable inside main.js to write the code to be run. The file tests.js includes examples of codes and inputs to be used in the interpreter. You can use them to have an idea of how the codes should be run.
- Create a shell script to run your code with go-ethereum evm implmentation. This can be done by running "node main.js > evmrun.sh".
- Execute the script you just created with "./evmrun.sh". This should generate a file called output.txt, which includes the debug log of your program execution.
- Many improvements to make code cheaper to run (use less gas during execution)
- Clean code to make it easier for a human to read
- Support other platforms
- Make interpreter more intuitive to use
- Include the option to use ethereumjs instead of go-ethereum