Abstract
A Function Definition Language (FDL) is presented. Though designed for describing specifications, FDL is also a general-purpose functional programming language. It uses context-free language as data type, supports pattern matching definition of functions, offers several function definition forms, and is executable. It is shown that FDL has strong expressiveness, is easy to use and describes algorithms concisely and naturally. An interpreter of FDL is introduced. Experiments and discussion are included.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Dong Yunmei. Collection of SAQ Reports no.1-7. Technical Report ISCAS-LCS-95-09, Computer Science Laboratory, Institute of Software, Chinese Academy of Sciences, August 1995.
Dong Yunmeiet al. Collection of SAQ Reports no.8-16. Technical Report ISCAS-LCS-96-1, Computer Science Laboratory, Institute of Software, Chinese Academy of Sciences, March 1996.
Dong Yunmei. MLIRF method for specification acquisition and reuse. (in Chinese) InProc. 9th National Conf. China Computer Federation, May 1996, pp 21–27.
Sollomaa A. Formal Languages. Academic Press, London, 1973.
Field A J, Harrison P G. Functional Programming. Addison-Wesley, 1988.
Koopman P W M, Van Eekelen M, Plasmeijer M J. Operational machine specification in a functional programming language.Software-Practice and Experience May 1995, 25(5): 463–499.
Dong Yunmei. Recursive functions defined on context-free languages. (in Chinese), In [1].
Aho A V, Ullman J D. The Theory of Parsing, Translation, and Compiling, Volume 1: Parsing. Prentice-Hall, Inc., 1972.
Jukka Paakki. Attribute grammar paradigms—A high-level methodology in language implementation.ACM COmputing Surveys, June 1995, 27(2): 196–255.
Vogt Het al. Higher order attribute grammars. InProc. ACM SIGPLAN'89 Conf. PLDI, 1989, pp. 131–145.
Ganzinger H, Giegerich R. Attribute coupled grammars. InProc. ACM SIGPLAN'84 Symp. Compiler Constructions, SIGPLAN Notices, June 1984, 19(6): 157–170.
Dong Yunmei. An interactive learning algorithm, for acquisition of concepts represented as CFL.J. Comput. Sci. & Technol., 1998, 13(1): 1–8.
Author information
Authors and Affiliations
Corresponding author
Additional information
This research was supported by the National “863” Hi-Tech Programme, the National Natural Science Foundation and the National “Ninth-Five” Sci-Tech Programme of China.
CHEN Haiming received his B. S. degree from University of Science and Technology of China in 1989 and his M.S. degree and Ph.D. degree from Institute of Software, Chinese Academy of Sciences (CAS) in 1992 and 1999, respectively. He is now a research member at the Laboratory of Computer Science, Institute of Software, CAS. His research interests include, software design methodology and programming languages.
Rights and permissions
About this article
Cite this article
Chen, H. Function Definition Language FDL and its implementation. J. Comput. Sci. & Technol. 14, 414–421 (1999). https://doi.org/10.1007/BF02948745
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02948745