Open lgarron opened 7 years ago
I wrote an algorithm parser using Parsimmon: https://github.com/mikebolt/ThreeTwist/blob/experiments/src/scripts/algorithm.js
The goal was to make it part of this "algorithm class" that had lots of useful methods. Feel free to use any code from ThreeTwist. Also stay away from CSS3D :)
Take a look at https://github.com/cubing/alg.cubing.net/tree/v2/twisty/alg ;-)
I think it has everything you have have that isn't specific to cubes, but I'm happy to have help or suggestions for what directions to take it. :-)
We have a good parser generator, but we could get some benefits from writing our own: