TANGLE is a Turing-complete topological programming language where programs are represented as tangles—isotopy classes of braided strands in 3D space. Computation proceeds via strand braiding with interactions at crossings, leveraging deep connections between topology, algebra, and computation. Knot invariants (Jones polynomial) enable novel reasoning about program equivalence.
tangle/ ├── src/ # Core language implementation │ ├── parser/ # Tangle source parser │ ├── topology/ # Topological representation │ ├── invariants/ # Knot invariant computation │ ├── evaluator/ # Execution engine │ └── backend/ # Code generation ├── examples/ # Example Tangle programs ├── tests/ # Language conformance tests └── docs/ # Language specification
[Tangle Source] ──► [Parser] ──► [Topological Representation] ──► [Invariant Extraction]
↓
[Braiding Evaluation] ──► [Computation Result]