摘要
PhilipWadler在探讨用Monad构造纯函数式程序时,介绍了一个简单的词法分析程序的构造过程.本文进一步研究了这种方法,并用这种方法构造出一个能进行复杂的layout分析。
Philip Wadler introduced the constructing course of a simple lexical parser when he studied how to structure pure functional programs by a monadic approach. This paper studies the approach further. A pure functional parser which can process complicated layout analyses, lexical analyses and syntax analyses is given according to the monadic approach.
出处
《软件学报》
EI
CSCD
北大核心
1996年第11期683-690,共8页
Journal of Software
关键词
函数式
程序设计
纯函数式语言
MONAD
Functional programming, pure functional language, Monad, parsing technique.