skip to main content
article
Free access

Lexical analysis and parsing techniques for a vector machine

Published: 01 January 1975 Publication History

Abstract

The use of vector oriented hardware for compilation places a special burden on the compiler writer to make use of vector operations whenever possible. This paper presents various techniques for lexical analysis and parsing using the CDC STAR-100 instruction set. Although the similarity between APL and the STAR is apparent, previous techniques developed by Lincoln and others using APL as a base cannot be used directly on the STAR. Difficulties involved in implementing such methods occur because of the non-uniform treatment of vectors of different types on the STAR as opposed to a very uniform treatment in APL. The relevant features of the STAR-100 are discussed after which techniques are described for performing lexical analysis of a source text. The goal is to reduce the text to a set of tokens of unit length. Finally some parsing methods are suggested.

References

[1]
N. Lincoln, "Parallel Programming Techniques for Compilers", SIGPLAN Notices, Vol. 5, No. 10, Oct. 1970.
[2]
M. Zosel, "A Parallel Approach to Compilation", ACM Symposium on Principles of Programming Languages, Oct. 1-3, 1973.
[3]
K. E. Iverson, "A Programming Language", John Wiley and Sons, Inc., 1962.
[4]
Control Data STAR-100 Computer, Hardware Reference Manual, Publication Number 60256000, Control Data Corp., 1974.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 10, Issue 3
Proceedings of the conference on Programming languages and compilers for parallel and vector machines
March 1975
163 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/390015
Issue’s Table of Contents
  • cover image ACM Conferences
    Proceedings of the conference on Programming languages and compilers for parallel and vector machines
    January 1975
    163 pages
    ISBN:9781450373838
    DOI:10.1145/800026

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 January 1975
Published in SIGPLAN Volume 10, Issue 3

Check for updates

Author Tags

  1. Compilation
  2. Lexical-analysis
  3. Vector-processors

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)273
  • Downloads (Last 6 weeks)207
Reflects downloads up to 29 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media