A transpiler:
- takes code in one high-level language
- rewrites it into another high-level language
- while preserving semantics
Classic examples:
- TypeScript → JavaScript
- Modern JS → older JS
- Wasm → C
- DSL → Rust
What an interpreter is
An interpreter is a program that executes another program directly, instruction …

