msgDsl = require 'msg-dsl'
msgBody = '<$mark|model|view$>'
result = msgDsl.read msgBody
msgDsl.write result
Methods:
read :: (string) -> array
read DSL array from stringwrite :: (array) -> string
write string from DSL arraywriteHtml :: (array) -> string
write HTML string from DSL arrayrecognize :: (string, string, array) -> array
get DSL array from message textflattern :: (array, array) -> string
generate message text from DSL arrayupdate :: (array, array) -> array
update information in DSL array
Closed