The script is already done as we all have seen already, but I believe there are much work to do still.
The combo calculation is already open source as per the slp-parser-js library