Design of an extensible interpreter using information hiding

  • Authors:
  • Larry Morell

  • Affiliations:
  • Arkansas Tech University, Russellville, Arkansas

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Information hiding is applied to the to the design of an extensible interpreter, i.e., one which enables new grammar rules to be added at any time, even while program constructs are being interpreted. Each construct of the language is represented by one or more grammar rules; each grammar rule is implemented by a single class which contains all the information necessary for scanning, parsing, and interpreting the corresponding construct.