Basic Compiler design
Budget: $30 – $250 USD
Need this by 05/26
For this project, you will be writing your own SIMPLE computer programming language. The coder will be writing .txt files as their code.
Your program must parse the code and
execute whatever the user writes in the .txt file. In short, the .txt file is
the code, your program that you are writing will compile/run the program.
Your computer language must:
-Accept ints and strings
-Have user input(keyboard) and output
-Perform math computations(+/-/*///%)
-Perform conditions(just if’s are fine, int and String compare will be just
fine)
-Loops(can be any type of loop and as simple as you want it to be)
-Display SIMPLE errors if the code “doesn’t compile”
-have Line comments
Coding:
Your code can be as simple and as complicated as you want it to be, but you
MUST utilize objects. The objects that you use must also make sense(no creating
objects for the sake of creating objects). All code also must be commented well
so anyone can easily read the code without confusion.
Readme:
After you finish, please create an instruction manual with your code. There is
no length requirement to your readme, but your readme MUST explain to a brand
new coder exactly how your code works.
Sample program:
Please include a sample program as a .txt file.
For this project, you will be writing your own SIMPLE computer programming language. The coder will be writing .txt files as their code.
Your program must parse the code and
execute whatever the user writes in the .txt file. In short, the .txt file is
the code, your program that you are writing will compile/run the program.
Your computer language must:
-Accept ints and strings
-Have user input(keyboard) and output
-Perform math computations(+/-/*///%)
-Perform conditions(just if’s are fine, int and String compare will be just
fine)
-Loops(can be any type of loop and as simple as you want it to be)
-Display SIMPLE errors if the code “doesn’t compile”
-have Line comments
Coding:
Your code can be as simple and as complicated as you want it to be, but you
MUST utilize objects. The objects that you use must also make sense(no creating
objects for the sake of creating objects). All code also must be commented well
so anyone can easily read the code without confusion.
Readme:
After you finish, please create an instruction manual with your code. There is
no length requirement to your readme, but your readme MUST explain to a brand
new coder exactly how your code works.
Sample program:
Please include a sample program as a .txt file.