Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 858 Bytes

README.md

File metadata and controls

38 lines (22 loc) · 858 Bytes

OpenQASM Parser

OCaml library for manipulating OpenQASM Abstract Syntax Tree

Requirements

This library requires a recent version of OCaml, dune and menhir.

Installation

Use the package manager opam to install OpenQASM parser.

opam install openQASM

Or use the standard make build and make install commands.

Usage

To play with the library, run dune utop (needs utop package) and issue a command such as:

OpenQASM.get_ast "teleport.qasm";;

Links

Contributing

Pull requests are welcome.

License

MIT