Open slodki opened 5 years ago
Yeah... and with the localization scheme just being aliases (for TO
at least) there's no good way to select the appropriate version.
It's probably easiest to stash the whole original input line somewhere and use that instead. PRs welcome.
oto
replaced withTO
andjuż
replaced withEND
. Localized and English commands are mixed together.Original localized procedures are stored in Library except
TO
andEND
words hardcoded inLogoInterpreter.definition()
: https://github.com/inexorabletash/jslogo/blob/8d56a623172d36bb9ffbb8192459a6c372206848/logo.js#L1182 https://github.com/inexorabletash/jslogo/blob/8d56a623172d36bb9ffbb8192459a6c372206848/logo.js#L1197