We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libqasm
v3x
cqasm
At the moment, when creating the Python library, we create two top level modules: libqasm, and cqasm.
The cqasm module contains a single submodule: v3x.
So, at the moment, we can import libqasm, and then import cqasm.v3x, import cqasm.v3x.ast, and so on.
import libqasm
import cqasm.v3x
import cqasm.v3x.ast
The libqasm module gives us access to the V3xAnalyzer class, with the following API:
V3xAnalyzer
parse_file
parse_string
analyze_file
analyzer_string
Whereas the cqasm.v3x module is also available for a more fine-grained use of the library.
cqasm.v3x
import cqasm.v3x.ast import cqasm.v3x.instruction import cqasm.v3x.primitives import cqasm.v3x.semantic import cqasm.v3x.types import cqasm.v3x.values
Ideally, I would like to have a single top level module, libqasm, with v3x being a submodule of it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At the moment, when creating the Python library, we create two top level modules:
libqasm
, andcqasm
.The
cqasm
module contains a single submodule:v3x
.So, at the moment, we can
import libqasm
, and thenimport cqasm.v3x
,import cqasm.v3x.ast
, and so on.The
libqasm
module gives us access to theV3xAnalyzer
class, with the following API:parse_file
,parse_string
,analyze_file
, andanalyzer_string
.Whereas the
cqasm.v3x
module is also available for a more fine-grained use of the library.Ideally, I would like to have a single top level module,
libqasm
, withv3x
being a submodule of it.The text was updated successfully, but these errors were encountered: