logo
首页技术栈工具库讨论
transf

transf

Transf is simple text transformer and interpreter. It scans its input for guard tokens and passes everything between to transformation functions. Transformation functions are composed from a small set of combinators and may perform arbitrary Haskell computation. Transf contains a full Haskell interpreter and can even interpret its input as Haskell. The main purpose of Transf is to allow the embedding of Domain-Specific Languages in text or Markdown files. For example one could use it with Diagrams as follows: Transf can then generate the image, and replace the source in the text file with the name of the actual image. It can also include the source. You can supply your own file names. In the above example, the file name is a hash of the source code.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconhanshoglund/transf3
HACKAGE
carbal install transf
查看
标签
根据用户添加的标签生成
暂无标签