Message DSL reader/writer of Jianliao.com
Usage
msgDsl = require 'msg-dsl'msgBody = '<$mark|model|view$>'result = msgDslread msgBodymsgDslwrite 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
License
Closed