• DocumentCode
    1908371
  • Title

    A top-down parsing co-processor for compilation

  • Author

    Chu, Yaohan ; Itano, Kozo

  • Author_Institution
    Dept. of Comput. Sci., Maryland Univ., College Park, MD, USA
  • Volume
    1
  • fYear
    1989
  • fDate
    3-6 Jan 1989
  • Firstpage
    403
  • Abstract
    The architecture of a top-down parsing coprocessor is presented. This processor aims at fast compilation for programming languages in LL(1) grammar. It accepts a stream of tokens from the lexical coprocessor and produces a stream of codes representing semantic action to be taken by the CPU. The coprocessor organization has a pipeline and two register stacks. The pipeline has four stages during which the production rule for each input token is checked and the semantic rules are selected. One register stack handles the production rules, while the other register stack handles the semantic rules. Only a small set of coprocessor instructions is needed for writing the parsing code and the size of the code is less than ten coprocessor instructions. It is estimated that the parsing coprocessor could produce the codes for possible semantic action at an average rate of 2 million codes per second
  • Keywords
    computer architecture; grammars; program compilers; reduced instruction set computing; satellite computers; CPU; LL(1) grammar; RISC; architecture; codes; compilation; coprocessor instructions; lexical coprocessor; parsing code; pipeline; production rule; programming languages; register stacks; semantic action; semantic rules; stream; tokens; top-down parsing co-processor; Assembly; Central Processing Unit; Computer architecture; Coprocessors; Hardware; Pipelines; Production; Program processors; Reduced instruction set computing; Registers;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    System Sciences, 1989. Vol.I: Architecture Track, Proceedings of the Twenty-Second Annual Hawaii International Conference on
  • Conference_Location
    Kailua-Kona, HI
  • Print_ISBN
    0-8186-1911-2
  • Type

    conf

  • DOI
    10.1109/HICSS.1989.47182
  • Filename
    47182