diff options
| -rw-r--r-- | TODO.md | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -229,3 +229,17 @@ have to manually edit the build script. | |||
| 229 | 229 | ||
| 230 | I'll leave this one to anyone who actually wants to work on nissy-core | 230 | I'll leave this one to anyone who actually wants to work on nissy-core |
| 231 | from Windows. | 231 | from Windows. |
| 232 | |||
| 233 | ### API rework | ||
| 234 | |||
| 235 | The initial design decision of having a "thin" public API and relying | ||
| 236 | on strings for everything had some advantages, but it is causing more | ||
| 237 | problems that it solves. The following changes should be considered: | ||
| 238 | |||
| 239 | * Instead of passing move strings, pass buffers of bytes to be filled | ||
| 240 | with moves. A move is an 8-bit integer from 0 to 54 with a bit for | ||
| 241 | normal / inverse. This is a big change that requires re-working | ||
| 242 | solvers, but also tools and so on. Utilities to translate an array | ||
| 243 | of moves to a move string can be provided. | ||
| 244 | * Solvers and other string-parameters for API functions should be | ||
| 245 | provided as constants, or as enums. | ||
