Skip to content

Lab-Innovative-Software-Quantum/lqccs-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LQCCS Interpreter

Interpreter for linear quantum CCS.

Contributors

Ferraro Domenico | [email protected]

Federico Ramacciotti | [email protected] | [email protected]

Leonardo Da Pozzo | [email protected] | [email protected]

Innocenzo Fulginiti | [email protected] | [email protected]

Grammar

grammar

Testing

To test everything at once you can run make test. Otherwise, you can run every test singularly as explained below.

To test the parser you can see the tests in test_parser.ml and run them with make test_parser.

To test the typechecker you can see the tests in test_typecheck.ml and run them with make test_typecheck.

To test the quantum operations you can see the tests in test_qop.ml and run them with make test_qop.

To test the eval you can see the tests in test_eval.ml and run them with make test_eval.

Usage

Install dependencies and build

make deps
make build

Run

make start

With no arguments, the program executes the REPL loop. Otherwise, it is possible to run the interpreter on a single file using make start path/to/file.

About

Interpreter for linear quantum CCS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •