Abstract
In this paper we proved that the function class CFRF and its proper subclass CFPRF are respectively the partial recursive functions and primitive recursive functions of context free languages (CFLs). Also we discussed the relation between them and recursive functions defined on other domains. It is indicated that the functions of natural numbers and/or symbol strings (words) are functions of CFLs. Several frequently used primitive recursive functions on words were given, including logical connectives, conditional expressions. Also the powerful operators (bounded maximization and minimization operators) for constructing primitive recursive functions were defined. Two important nontrivial algorithms, the characteristic function of arbitrary CFL and the parse function of CFL sentences were constructed. Based on them, the method for extending or restricting function domain was described.
Similar content being viewed by others
References
Dong Yunmei, Recursive functions of context free languages (I)—The definitions of CFPRF and CFRF, Science in China, Ser. F, 2002, 45(1): 25–39.
Cutland, N., Computability: An Introduction to Recursive Function Theory, Cambridge: Cambridge University Press, 1980.
Péter, R., Recursive Functions, New York: Academic Press, 1967.
Author information
Authors and Affiliations
Additional information
This paper is based on the Technical Report ISCAS-LCS-2k-03 (SAQ Report no.30): Recursive Functions Defined on Context Free Languages (I) August 2000 with minor revisions.
Rights and permissions
About this article
Cite this article
Dong, Y. Recursive functions of context free languages (II). Sci China Ser F 45, 81–102 (2002). https://doi.org/10.1360/02yf9007
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1360/02yf9007