Functional languages are used frequently for building compilers or tools that parse languages because languages are normally expressed as syntax trees.
函数性语言被频繁地用来构建编译器或者解析语言的工具,因为语言通常是用语法树表示的。
By adding clean syntax and support, functional languages make recursion a candidate for simple code reuse.
通过增加简明的语法和支持,函数式语言使递归成为实现简单代码重用的候选方法。
After an hour or two, I have a fully-functional set of XSL transformations for turning a guide-like syntax into an HTML main page. Revision 2 of the new main page looks like this.
一两个小时之后,我就得到了一个功能齐备的、用于将类似于guide的语法变成HTML主页的xsl变换集。
应用推荐