cubing / cubing.js

🛠 A library for displaying and working with twisty puzzles. Also currently home to the code for Twizzle.
https://js.cubing.net/cubing/
GNU General Public License v3.0
256 stars 46 forks source link

Surface useful help for common alg parsing errors (especially for `<twisty-player>`) #338

Open lgarron opened 1 month ago

lgarron commented 1 month ago

Our parser is very conservative because we are trying to set a minimal standard of compatibility for the ecosystem — that is, it should not be a minefield for someone to write an app that accepts the same notation that cubing.js does. This means cubing.js is strict about things that some people might not expect. We've already added some workarounds for this, like converting smart quotes on paste in Twizzle. However: