Diego Partida Romero - A01641113
Carlos Alberto Veryan Peña - A01641147
Alan Antonio Ruelas Robles - A01641426
Industry 4.0 encompasses intelligent manufacturing and the emergence of smart factories, which have recently extended their influence to the mechanical industry. This expansion is driven by the rapid advancement of technology and the growing demand for high-quality products with increased efficiency. Consequently, the role of robots has become crucial, highlighting the significance of robot programming languages. To address this challenge, the development and implementation of a robust robot language compiler are necessary.
The repository contains the following folders:
- compiler: This folder includes the source code and utilities for the robot compiler.
- cpu: The cpu folder contains the implementation of the robot's central processing unit.
- testing: The testing folder includes test cases and scripts to ensure the accuracy and reliability of the robot compiler.
To install the Robot Compiler, please follow these steps:
- Clone the repository:
git clone https://github.com/your-username/robot-compiler.git - Navigate to the project directory:
cd robot-compiler - Navigate to the src directory:
cd cpu/src - Install the dependencies:
pip3 install numpy csv subprocess
To compile and run a robot program, follow these steps:
- Insert the desired intructions for the robot in the
cpu/src/instructions.txtfile, or leave them as they are. - Navigate to the compiler directory:
cd compiler - Remove the current C files for the executable and the executable itself:
make clean - Remake the C files for the executable and the executable itself:
make all - Navigate to the src directory:
cd ../cpu/src - Run the python file:
python3 cpu.py
