ParaCL is a custom C-like language. This project provides an interpreter for the ParaCL language.
n = ?;
fact = 1;
iter = 1;
while (iter <= n) {
fact = fact * iter;
iter = iter + 1;
}
print fact;To run it after(!!) building the program:
./ParaCL ./test/factorial.in- arithmetic, logical, and comparison operations
- while loop
- if statement
- print statement
- ? scan statement
- chainable assignment
git clone https://github.com/Aliyaminim/ParaCL.git
cd ParaCL
cmake -S ./ -B build/
cd build/
cmake --build ../ParaCL [file]make -s test