Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-30 | Fixed the guaranteed-dictionary-update bug | Clayton G. Hobbs | |
It wasn't actually guaranteed, it turns out. I was iterating over dictionary keys, which is done in arbitrary order. The result was that in different executions of the program, the corpus was generated differently, so the hashes differed, and the language had to be updated. Sorting the keys before adding them to the list of number-words fixed the problem. | |||
2015-12-30 | Added number parsing capabilities | Clayton G. Hobbs | |
See commands.tmp for an example. It's pretty neat, but it could still use some work. I thought of a really clever way to parse numbers, better than the one I came up with last night, but since I have a working implementation now I figure I'd better commit it. We have a new bug which causes the dictionary to be updated every time the program starts. I hope I didn't force that to happen last night or something, but I have a vague feeling I did. |