Skip to main content
Log in

Abstract

This paper provides a top-down description of an interpreter for a nucleus of a simple nondeterministic language designed to be utilized in computer aided problem-solving. The given description can be readily programmed in a language which allows the use of recursive procedures and which has record-type definition capabilities. After a minimal set of primitive commands is defined, an interpreter for these commands is developed using nondeterministic and recursive programming techniques. The examples presented are among many which have been tested using a version of the interpreter written inpascal.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. D. G. Bobrow and B. Raphael, “New programming languages for artificial intelligence research,”ACM Computing Surveys 6 (3):155–174 (September 1974).

    Google Scholar 

  2. D. G. Bobrow and B. Wegbreit, “A model and stack implementation of multiple environments,”Comm. ACM 16 (10):591–603 (October 1973).

    Google Scholar 

  3. J. Cohen, “Interpretation of non-deterministic algorithms in higher-level languages,”Inform. Proc. Letters 3 (4):104–109 (March 1975).

    Google Scholar 

  4. J. Cohen, “Non-deterministic algorithms,”ACM Computing Surveys 11 (2):79–94 (June 1979).

    Google Scholar 

  5. O. J. Dahl, E. W. Dijkstra, and C. A. R. Hoare,Structured Programming (Academic Press, London, 1972).

    Google Scholar 

  6. R. W. Floyd, “Non-deterministic algorithms,”J. ACM 14 (4):636–644(October 1967).

    Google Scholar 

  7. J. W. Garwick, “Data storage in compilers,”Nordisk Tidskrift for Informations- behandling 4:137–140 (1964).

    Google Scholar 

  8. E. B. Hunt,Artificial Intelligence (Academic Press, New York, 1975).

    Google Scholar 

  9. J. E. Hopcroft and J. D. Ullman,Formal Languages and Their Relation to Automata (Addison-Wesley, Reading, Mass., 1969).

    Google Scholar 

  10. K. Jensen and N. Wirth,Pascal-User Manual and Report (Springer-Verlag, New York, 1975).

    Google Scholar 

  11. G. Lindstrom, “Backtracking in a generalized control setting,”ACM Trans. Programming Languages and Systems 1 (1):8–26 (July 1979).

    Google Scholar 

  12. D. Michie, “Memo-functions and machine learning,”Nature 218:19–22 (1968).

    Google Scholar 

  13. C. Montangero, G. Pacini, and F. Turini, “Two-level control structure for nondeterministic programming,”Comm. ACM 20 (10):725–730 (October 1977).

    Google Scholar 

  14. N. Nilsson,Problem-Solving Methods in Artificial Intelligence (McGraw-Hill, New York, 1971).

    Google Scholar 

  15. C. Weissman,Lisp 1.5 Primer (Dickenson Publishing Co., Belmont, California, 1967).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

The work reported here was supported by the National Science Foundation under Grant Number MCS 79-0522.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Cohen, J., Stachel, R. An interpreter for a nondeterministic language. International Journal of Computer and Information Sciences 9, 193–217 (1980). https://doi.org/10.1007/BF00977784

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00977784

Key words

Navigation