• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

A Practical Processor for a Programming Language Based on Coupled Contex-Free Grammar

Research Project

Project/Area Number 01880006
Research Category

Grant-in-Aid for Developmental Scientific Research (B).

Allocation TypeSingle-year Grants
Research Field Informatics
Research InstitutionInstitute Information Sciences and Electronics University of Tsukada

Principal Investigator

NAKATA Ikuo  Professor, Institute of Information Sciences and Electronics, University of Tsukuba, 電子情報工学系, 教授 (70133022)

Co-Investigator(Kenkyū-buntansha) YAMASHITA Yoshiyuki  Research Associate, Computer Center, University of Tokyo, 大型計算機センター, 助手 (20220353)
IDA Tetsuo  Associate Professor, Institute of Information Sciences and Electronics, Universi, 電子情報工学系, 助教授 (70100047)
SASSA Masataka  Professor, Institute of Information Sciences and Electronics, University of Tsuk, 電子情報工学系, 教授 (20016182)
清木 康  筑波大学, 電子情報工学系, 助教授 (10169956)
Project Period (FY) 1989 – 1990
Project Status Completed (Fiscal Year 1990)
Budget Amount *help
¥6,800,000 (Direct Cost: ¥6,800,000)
Fiscal Year 1990: ¥2,000,000 (Direct Cost: ¥2,000,000)
Fiscal Year 1989: ¥4,800,000 (Direct Cost: ¥4,800,000)
KeywordsData Structure / Programming Languages / Attribute Grammar / Coupled Context-Free Grammar / LL and LR Parsing / LR構文解析 / 並列実行 / 正規表現
Research Abstract

A CCFG (Coupled Context-Free Grammar) is a grammar defined by coupling several CFGs (Context-Free Grammars). Each component CFG defines a data structure, and the CCFG can be regarded as a program (called CCFG program) that describes the relation between these data structures. Because a CCFG program is a combination of several grammars, the execution of the program corresponds to the parsing of these grammars. The following two methods for execution of CCFG programs have been developed :
(1) Top-down execution that corresponds to LL parsing
(2) Bottom-up execution that corresponds to LR parsing
A CCFG program can also be considered as, or can easily be transformed into, an attribute grammar that has one or more input grammars. Therefore, a compiler generator based on attribute grammars can be applied as a compiler for such a program. If a CCFG program has two input grammars, then the target program has two parsers with attribute evaluators that run concurrently. In an actual implementation that we have developed, however, they run as two coroutines.

Report

(3 results)
  • 1990 Annual Research Report   Final Research Report Summary
  • 1989 Annual Research Report
  • Research Products

    (16 results)

All Other

All Publications (16 results)

  • [Publications] Nakata,I and Yamashita,Y: "Program Transformation of CCFG Programs" Advances in Software Science and Technology. 1. 71-87 (1989)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] 丁 亜希、中田 育男: "正規右辺文法の再帰降下パ-サの効率よい生成法" 情報処理学会論文誌. 30. 197-203 (1989)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] 丁 亜希、渡辺 美樹、中田 育男、佐々 政孝: "正規右辺属性文法と1パス再帰降下属性評価器の生成" 情報処理学会論文誌. 30. 204-213 (1989)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] 山下 義行、中田 育男: "属性文法における展開/畳み込み変換" コンピュ-タソフトウェア. 7. 158-172 (1990)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] 山下 義行、中田 育男: "Coupled ContextーFree Grammarにおける展開/畳み込み変換" コンピュ-タソフトウェア. 7. 235-247 (1990)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] 山下 義男、中田 育男: "項を扱う文脈自由文法への否定の導入" コンピュ-タソフトウェア.

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] Nakata, I. and Yamashita, Y.: "Program Transformation of CCFG Programs" Advances in Software Science and Technology. Vol. 1. 71-87 (1989)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] Ding, Y. and Nakata, I.: "Efficient Generation of Recursive Descent Parsers for Regular Right Part Grammars" Transactions of IPSJ. Vol. 30. No. 2. 197-203 (1989)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] Ding, Y., Watanabe, Y., Nakata, I., Sassa, M.: "Regular Right Part Attribute Grammars and Generation of One-pass Recursive Descent Attribute Evaluators" Transactions of IPSJ. Vol. 30, No. 2. 204-213 (1989)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] Yamashita, Y. and Nakata. I.: "The Unfold/Fold Transformations in Attribute Grammars" Computer Software. Vol. 7, No. 2. 58-72 (1990)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] Yamashita, Y. and Nakata, I.: "The Unfold/Fold Transformations for Coupled Context-Free Grammars" Computer Software. Vol. 7, No. 3. 23-35 (1990)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] Yamashita, Y. and Nakata, I.: "Introduction of Negations in Context-Free Grammars" Computer Software.

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1990 Final Research Report Summary
  • [Publications] 山下 義行: "属性文法における展開/畳み込み変換" コンピュ-タソフトウェア. 7. 158-172 (1990)

    • Related Report
      1990 Annual Research Report
  • [Publications] 山下 義行: "Coupled ContextーFree Grammarにおける展開/畳み込み変換" コンピュ-タソフトウェア. 7. 235-247 (1990)

    • Related Report
      1990 Annual Research Report
  • [Publications] 山下 義行: "項を扱う文脈自由文法への否定の導入" コンピュ-タソフトウェア.

    • Related Report
      1990 Annual Research Report
  • [Publications] 江辺郁夫: "文法的プログラミング言語の処理系" 日本ソフトウェア科学会第6大会論文集. 157-160 (1989)

    • Related Report
      1989 Annual Research Report

URL: 

Published: 1989-04-01   Modified: 2016-04-21  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi