Live translator
Write in your language. See it in Thunder, as you type.
Type code in the language you know and watch Thunder explain it. Or write Thunder and watch it become Python, TypeScript, C#, Java, Go, or Rust, and see what it prints. Everything runs in your browser: nothing is sent anywhere.
Type or paste any code. Thunder reads it as you type, in your browser.
In Thunder
Delivery fee: a rule
Author's note: Nearby orders of $20 or more are delivered free.
You give it: total, distance km
- Ask: Total is at least 20 and distance km is at most 5? (line 3)
Yes:
- Answer: Free (line 3)
No:
- Ask: Distance km is more than 15? (line 5)
Yes:
- Answer: Too far (line 5)
No:
- Answer: Standard (line 7)As Thunder Core you can edit and run1 of 1 functions said exactly; anything else is marked “Not translated”
To delivery fee:
Receive total and distance km
When total is at least 20 and distance km is at most 5:
Give "Free"
When distance km is more than 15:
Give "TooFar"
Give "Standard"