hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.32k stars 289 forks source link

[BUG] left, right, number could be represented nicer #1135

Closed Felienne closed 3 years ago

Felienne commented 3 years ago

Describe the bug The allowed types could be formatted prettier: left, right, number -> left, right or a number This can be done with the new translate code I think:

https://github.com/Felienne/hedy/blob/158ede3e23776808c3c76ec41165c7407a957ecf/app.py#L363

We then also want to localize to -> left, right of een getal but that can be done in one go.

Paste the Hedy code & level turn right 90

Level: 2

Add a screenshot (optional) image

Felienne commented 3 years ago

Closed by #1186