touchstone-prover 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
touchstone/__init__.py ADDED
@@ -0,0 +1,10 @@
1
+ """Touchstone: an SMT-based verifier for a subset of Python.
2
+
3
+ The full API is available from the top level; the same names are grouped into
4
+ importable submodules (core, domains, engines, theories, audit) for callers that
5
+ want one layer in isolation.
6
+ """
7
+ from . import _impl
8
+ from ._impl import * # noqa: F401,F403
9
+
10
+ __all__ = [n for n in dir(_impl) if not n.startswith("_")]
touchstone/__main__.py ADDED
@@ -0,0 +1,11 @@
1
+ """`python -m touchstone` runs the self-tests and the demonstration; `python -m touchstone
2
+ <command> ...` runs a command-line verb (see `touchstone -h` or `python -m touchstone check -h`)."""
3
+ import sys
4
+
5
+ if __name__ == "__main__":
6
+ if len(sys.argv) > 1:
7
+ from .cli import main
8
+ raise SystemExit(main())
9
+ from ._impl import run_self_tests, demo
10
+ run_self_tests()
11
+ demo()
touchstone/_impl.py ADDED
@@ -0,0 +1,11 @@
1
+ """Aggregator: the implementation now lives in the focused modules core, engines, domains,
2
+ theories, and audit. This module preserves the historical touchstone._impl import surface."""
3
+ from . import core, engines, domains, theories, vcgen, audit, soundinfer
4
+ from .core import *
5
+ from .engines import *
6
+ from .domains import *
7
+ from .theories import *
8
+ from .vcgen import *
9
+ from .audit import *
10
+ from .soundinfer import infer_return_type, infer_local_types, infer_types
11
+ from .core import ALLOW_SUBJECT_EXECUTION, REQUIRE_CORROBORATION, CROSS_VALIDATE_DOMAINS