├── .gitignore ├── README.md ├── requirements.txt └── src ├── assembler ├── asmutils.py └── assembler.py ├── compiler ├── compiler.py └── utils.py ├── core ├── constants.py ├── formats.py ├── numeric.py └── vm.py ├── examples ├── simple.et └── test.et ├── run.py ├── shell.py └── stdlib ├── sandbox.et └── stdio.et /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/README.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | lark-parser==0.5.5 2 | -------------------------------------------------------------------------------- /src/assembler/asmutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/assembler/asmutils.py -------------------------------------------------------------------------------- /src/assembler/assembler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/assembler/assembler.py -------------------------------------------------------------------------------- /src/compiler/compiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/compiler/compiler.py -------------------------------------------------------------------------------- /src/compiler/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/compiler/utils.py -------------------------------------------------------------------------------- /src/core/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/core/constants.py -------------------------------------------------------------------------------- /src/core/formats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/core/formats.py -------------------------------------------------------------------------------- /src/core/numeric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/core/numeric.py -------------------------------------------------------------------------------- /src/core/vm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/core/vm.py -------------------------------------------------------------------------------- /src/examples/simple.et: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/examples/simple.et -------------------------------------------------------------------------------- /src/examples/test.et: -------------------------------------------------------------------------------- 1 | import stdio 2 | 3 | def main() -> (): 4 | printiln(42+1) 5 | -------------------------------------------------------------------------------- /src/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/run.py -------------------------------------------------------------------------------- /src/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/shell.py -------------------------------------------------------------------------------- /src/stdlib/sandbox.et: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/stdlib/sandbox.et -------------------------------------------------------------------------------- /src/stdlib/stdio.et: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void4/rarvm/HEAD/src/stdlib/stdio.et --------------------------------------------------------------------------------