brownplt / code.pyret.org

Website for serving Pyret to folks.
Other
24 stars 45 forks source link

Add "grey" in addition to "gray" #351

Closed schanzer closed 3 years ago

schanzer commented 3 years ago

We have a few teachers from Jamaica who grew up with the British spelling. Any chance we can support both vowels?

blerner commented 3 years ago

IIRC we had tried to eliminate synonyms for colors to simplify the color namespace. Do we really want to reintroduce them?

schanzer commented 3 years ago

I don't see this as a synonym, as much as an alternate spelling. I know there were lots of other colors we took out ("pink" v. "lightred"), but this seems like a different issue.

shriram commented 3 years ago

Agreed. It's just a matter of "this color isn't in the language" for them.

blerner commented 3 years ago

Agreed with which? Your comment could equally well apply to either of our statements so far ;-)

Also, if you want to go this route, do you intend to have respelled synonyms for light-gray, gray, dark-gray, and dim-gray?

shriram commented 3 years ago

I'm agreeing with Emmanuel. There is no canonical spelling for this color, so we'd have to have both spellings.

schanzer commented 3 years ago

@blerner is this something we can add easily?

blerner commented 3 years ago

It's slightly annoying, but it's doable. Again: do you want to double-spell every variant of gray, light-gray, dark-gray and dim-gray?

schanzer commented 3 years ago

Yes

schanzer commented 3 years ago

Updated WeScheme to match in bd515eee789f929dae4a46387d0fc75bd066ba6b