lua.wetgenes.gamecake.fun.chatdown.parse
rawsubjects = chatdown.parse(text)
Parse text from flat text chatdown format into heirachical chat data, which we refer to as rawsubjects, something that can be output easily as json.
This gives us a readonly rawsubjects structure that can be used to control what text is displayed during a chat session.
This is intended to be descriptive and logic less, any real logic should be added using a real language that operates on this rawsubjects and gets triggered by the names used. EG, filter out gotos unless certain complicated conditions are met or change topics to redirect to an alternative.
A self documented example of chatdown formated text can be found in lua.wetgenes.gamecake.fun.chatdown.text