Skip to content

Latest commit

 

History

147 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ParaCL interpreter

About

ParaCL is a custom C-like language. This project provides an interpreter for the ParaCL language.

Code snippet in ParaCL

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

Supported language features

  • arithmetic, logical, and comparison operations
  • while loop
  • if statement
  • print statement
  • ? scan statement
  • chainable assignment

How to build

git clone https://github.com/Aliyaminim/ParaCL.git
cd ParaCL
cmake -S ./ -B build/
cd build/
cmake --build .

How to run the program

./ParaCL [file]

How to test(end to end) the program

make -s test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages