Skip Navigation

The Computer Journal 1989 32(2):108-121; doi:10.1093/comjnl/32.2.108
© 1989 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (6)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Frost, R.
Right arrow Articles by Launchbury, J.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

Constructing Natural Language Interpreters in a Lazy Functional Language

R. Frost1 * ¶ and J. Launchbury2 §

1 School of Computer Science, University of Windsor, Windsor, Ontario N9B P4, Canada, 2 Department of Computer Science, University of Glasgow, Glasgow G12 8QQ, Scotland, UK

In this paper, we describe a method by which language parsers and interpreters may be implemented in a lazy functional programming language. The visual appearance of such interpreters mimics the BNP description of the grammar of the language being interpreted. The method is particularly well suited to the implementation of language interpreters that are based on the principle of ‘rule to rule’ correspondence (in which each production rule of the grammar has a translation rule associated with it). The main objective of the paper is to demonstrate that the method described provides a useful framework within which both grammars and semantic theories of languages many be investigated. We present the method by example: the simple natural language interpreter we construct is based loosely on principles proposed by Richard Montague.


Received January 1988. revised November 1988.

* School of Computer Science, University of Windsor, Windsor, Ontario N9B P4, Canada

§ Department of Computer Science, University of Glasgow, Glasgow G12 8QQ, Scotland

To whom correspondence should be addressed. Each author contributed equally to this work.


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.