Learn THUE with Real Code Examples
Updated Nov 26, 2025
Architecture
Abstract computation model with strings and rewriting rules
No fixed hardware requirements
Rule set defines transformations
Computation proceeds by applying rules to strings
Halts when no rule can be applied
Rendering Model
Strings as states
Rules as transformations
Application of rules leads to new strings
Halting when no rules apply
Optional non-deterministic branching
Architectural Patterns
String-based abstract computation
Rule set defines system behavior
Initial string as input
Transformation sequence as computation path
Termination when no rules remain
Real World Architectures
Formal language exploration
Automata theory teaching
Turing-completeness demonstrations
String manipulation algorithm experiments
Non-deterministic computation studies
Design Principles
Minimalistic computation
String rewriting as computation
Rule-based transformations
Deterministic and non-deterministic exploration
Foundation for formal language research
Scalability Guide
Simulate small examples first
Avoid exponential growth of non-deterministic paths
Use visualization tools for large transformations
Break rules into modular sets
Document rules and expected outputs
Migration Guide
Copy rules.thue and input files to new system
Install compatible interpreter if needed
Run simulations with same initial strings
Verify output consistency
Adjust for any interpreter version differences