rivescript-js has a deparse and stringfy function that allows you to extract the in-memory representation of the brain memory to a JSON notation, and vice versa
My idea is to create an object that represents this JSON in a structured way, besides allowing it to be easily converted to JSON notation.
rivescript-js has a deparse and stringfy function that allows you to extract the in-memory representation of the brain memory to a JSON notation, and vice versa
My idea is to create an object that represents this JSON in a structured way, besides allowing it to be easily converted to JSON notation.
Methods to implement:
For more details of deparse: https://github.com/aichaos/rivescript-js/tree/master/eg/deparse