A Compiler for my CPU im building in Minecraft (And be ready for some terible python code LOL)
- Downloa source code from GitHub / clone from GitHub
- Make sure python 3.11 is installed
- Install pipenv package globally
pip install pipenv
- cd into the project folder and run
pipenv install
- Downloa source code from GitHub / clone from GitHub
- Make sure python 3.11 is installed
- cd into the project folder and create a python venv using 3.11
python -m venv ./venv
- Activate the venv
./venv/bin/activate
- Install pipenv
pip install pipenv
- Install the packages
pipenv install
- auto Memory asignment / variable names
- Macros & Compiletime evaluated Macro Generators
#memorylayout [static, static auto, explicit] + [incremental, balanced]
- static: define each variable manuel
- static auto: automaticly find all variables at compiletime
- explicit: no variables, you direcly use memory adresses (no incremental / balanced required)
- incremental: variables will be resolved from lowest to highest adress
- balanced: variables will be resolved to addresses spreded over all 8 RAM segments