Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 487 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 487 Bytes

The Quil Parser

Introduction

This package contains a number of items useful for parsing Quil programs, both with or without pyQuil. It uses Lark for quick and efficient parsing of Quil.

  • grammar.lark defines the Quil grammar in the Lark grammar format.
  • parser.py translates the Lark parse tree into pyQuil instruction objects.

References