Affiliation:
1. The Rand Corp., Santa Monica, CA
Abstract
APAREL is described: this language is an extension to an algorithmic language (PL/I) that provides the pattern-matching capabilities normally found only in special purpose languages such as SNOBOL4 and TMG. This capability is provided through parse-requests stated in a BNF-like format. These parse-requests form their own programming language with special sequencing rules. Upon successfully completing a parse-request, an associated piece of PL/I code is executed. This code has available for use, as normal PL/I strings, the various pieces (at all levels) of the parse. It also has available, as normal PL/I variables, the information concerning which of the various alternatives were successful. Convenient facilities for multiple input-output streams, the initiation of sequences of parse-requests as a subroutine, and parse-time semantic checks are also included.
APAREL has proven convenient in building a powerful SYNTAX and FUNCTION macro system, an algebraic language preprocessor debugging system, an on-line command parser, a translator for Dataless Programming, and as a general string manipulator.
Publisher
Association for Computing Machinery (ACM)
Reference12 articles.
1. PL/I Language Specification. Form C28-6571-4 IBM Corp. PL/I Language Specification. Form C28-6571-4 IBM Corp.
2. Dataless programming
3. STRACHEY C. (Ed.) CPL Working Papers. London Institute of Computer Science and the University Mathematical Laboratory Cambridge England 1966. STRACHEY C. (Ed.) CPL Working Papers. London Institute of Computer Science and the University Mathematical Laboratory Cambridge England 1966.
4. Syntax macros and extended translation
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Pattern matching for high level languages;ACM SIGPLAN Notices;1978-05
2. Continuous system simulation languages;ACM SIGPLAN Notices;1974-04
3. Construction of syntactic analyzers for speech systems;USSR Computational Mathematics and Mathematical Physics;1974-01
4. A syntax-directed parser for recalcitrant grammars;International Journal of Computer Mathematics;1972-01
5. Systems Programming Languages;Advances in Computers;1972