fabioravila / rivescript-csharp

A RiveScript interpreter for C# .Net. RiveScript is a scripting language for chatterbots. http://www.rivescript.com
MIT License
14 stars 6 forks source link

Deparse function #16

Open fabioravila opened 7 years ago

fabioravila commented 7 years ago

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