This section introduces the various files and directories inside the repository:
argparser.pyholds the main body of the interpreter.Contributations.mdis the current document you're viewing.c-samplesholds some simple C code and its equivalent WASM text formatgetobj.shwas used to the hex byte-code from the object file. deprecated.injected.wasmis an object file used for testing.injected.wastis the WASM text representation of the same test file.QuestionnTasks.mdholds the current tasks that need to be done and the current questions/challenges that we are facing.README.mdis the readme. You should first read that.TBInit.pyis the file that holds the containers for the Trueit Interpreter's internal state.OpCodes.pyis the file that contains the OpCodes for the WASM instructions.utils.pyis the file that holds methods and classes that are used across multiple filestestholds the tests.TBCthe directory holds the checker that enforces the conditions on the high-level source code that is going to run by the interpreter.
Below you will find requirements for adding a pull request. Submissions that don't meet the requirements will not be reviewed:
- PEP-8: use it. In case a PEP-8 guideline is irrational in a certain case, use your judgement.
- Your pull request must be accompanied by a test file. Your test file must be able to run on its own and by another python module. Inherit from
Void_Spwner. Your test script should not break the regression test script. - Python 2 compatibility is not a requirement.
- Don't forget to add your name to
CONTRIBUTERS.txt. The list is kept in a chronological order.