On Parsing and Compiling Arithmetic Expressions on Vector Computers
- 1 April 1980
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Programming Languages and Systems
- Vol. 2 (2) , 203-224
- https://doi.org/10.1145/357094.357099
Abstract
The problem of parsing and compiling arithmetic expressions on vector computers is considered. Methods are developed which allow encodings of one or more arithmetic expressions to be transformed directly into encodings of their corresponding derivation trees. The algorithm which performs this transformation is compact, efficient, and able to make extensive use of concurrent vector operations. Routines which concurrently transverse encoded derivation trees in a top-down or bottom-up manner are presented. These routines can be used to structure efficient, compact, and highly concurrent algorithms which complete the process of compiling arithmetic expressions.Keywords
This publication has 9 references indexed in Scilit:
- Parallel Compilation In A Multiprocessor Environment (Extended Abstract)Published by Association for Computing Machinery (ACM) ,1978
- Model, Design, and Evaluation of a Compiler for a Parallel Processing EnvironmentIEEE Transactions on Software Engineering, 1977
- Pipeline ArchitectureACM Computing Surveys, 1977
- Restructuring of Arithmetic Expressions For Parallel EvaluationJournal of the ACM, 1976
- Lexical analysis and parsing techniques for a vector machineACM SIGPLAN Notices, 1975
- The Parallel Evaluation of General Arithmetic ExpressionsJournal of the ACM, 1974
- An empirical study of FORTRAN programsSoftware: Practice and Experience, 1971
- The Generation of Optimal Code for Arithmetic ExpressionsJournal of the ACM, 1970
- Parallel programming techniques for compilersACM SIGPLAN Notices, 1970