Lex/Yacc用雛形生成系

書誌事項

タイトル別名
  • Template Generator for Lex and Yacc

この論文をさがす

抄録

計算機環境の多様化によりプログラミング言語も多様化してきている.このため,対象の開発により適したプログラミング言語が求められる.DSL(Domain Specific Language,ドメイン特化言語)という言葉が使われるようになって久しい.一方で概念的にはそのような言語を開発し,その用途に特化した言語と処理系を開発して,実際の開発作業に臨むことができることが望ましいが,言語やその処理系の開発は,一般的なプログラマには敷居が高く,煩雑でもある.言語の開発にはまず,文法の開発が必要となる.しかし,文法の開発には,作成しようとする処理系のことを考慮に入れた設計が必要となり,容易ではない.本研究では,文法を開発することを支援することを目的とする.ここではターゲットをLex/Yaccとする.すなわち,Lex/Yaccを用いて言語処理系を開発する前提で,Lex/Yaccの記述を開発することを支援することを目的とする.より具体的には,言語が持つ式に焦点を当て,式が持つ性質を表現する記法を考案し,それを基にしてLex/Yacc用の記述を雛形として生成するようにする.利用者は生成された雛形に必要なものを付け加えることでLex/Yacc記述として完成させる.

Since computing environment has been diversified, programming languages has been also diversified. So, better programming languages are required for developing. The word DSL (Domain Specific Language) has been used. Although developing such languages and processors and using them for actual developing is preferable, it is difficult and complicated for average programmers. To develop a language, first of all, developing the grammar is need. But developing a grammar is not easy because the property of the processor which will be developed has to be taken into consideration. Our goal is to support developing grammars for Lex and Yacc. Concretely, we focus on expressions. We mention that we developed a notation for properties various types of expressions (operations) have, and methods to generate a template for Lex and Yacc from the notation. The users can add something needed to the emitted template to make up a complete Lex/Yacc description.

収録刊行物

詳細情報 詳細情報について

  • CRID
    1050008156621811584
  • NII論文ID
    170000185585
  • NII書誌ID
    AA11464814
  • ISSN
    18827802
  • Web Site
    http://id.nii.ac.jp/1001/00213059/
  • 本文言語コード
    ja
  • 資料種別
    article
  • データソース種別
    • IRDB
    • CiNii Articles

問題の指摘

ページトップへ