Embedded domain-specific combinator library for assembling abstract definitions of logic circuits.
This embedded domain-specific language (DSL) makes it possible to write an algorithm in Python that operates over bit vectors, and then to interpret that algorithm implementation as a circuit definition in order to synthesize a logic circuit represented using the circuit library.
The package is available on PyPI:
python -m pip install circuitry
The library can be imported in the usual ways:
import circuitry from circuitry import *
Style conventions are enforced using Pylint:
pylint circuitry
In order to contribute to the source code, open an issue or submit a pull request on the GitHub page for this library.
Beginning with version 0.1.0, the version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.