hedy
hedy copied to clipboard
Range in for loop not recognised when misspelled
Range is not recognized when typed like rang.
This is basically true for all misspelled keywords, maybe we want to check if this specific one is common (with Dutch kids potentially?)
Issue still exists, f.e. current level 11:
for counter in rang 1 to 5
print counter
What I guess is needed here is a more generic invalid
rule. In early levels, we have invalid that is basically misspelled keyword followed by anything. Here we would want to gather all words in the line and see if they are like keywords.
Now discussion in https://github.com/hedyorg/hedy/discussions/3759