Deeptionary (JS) Nested dictionaries are incredibly powerful functional structures for reinforcement networks, but they can be awfully sloppy to use without polluting the flow representation in the call stack, or causing a stack overflow. This implementation uses a while loop for deep reads/writes instead of recursive function calls to mitigate stack overflows and unnecessary stack pollution. Write calls provide an existing value to the Write_Function where available or safely 'undefined' otherwise, and expects the new value to be returned. In this way any part of the deeptionary may be accessed, manipulated, and saved.
Deeptionary (JS) Nested dictionaries are incredibly powerful functional structures for reinforcement networks, but they can be awfully sloppy to use without polluting the flow representation in the...
Gist