ログイン 新規登録
言語:

WEKO3

  • トップ
  • ランキング
To
lat lon distance
To

Field does not validate



インデックスリンク

インデックスツリー

メールアドレスを入力してください。

WEKO

One fine body…

WEKO

One fine body…

アイテム

  1. 論文誌(トランザクション)
  2. プログラミング(PRO)
  3. Vol.2
  4. No.1

抽象構文木を自動生成するパーサジェネレータの効率的な実装

https://ipsj.ixsq.nii.ac.jp/records/16421
https://ipsj.ixsq.nii.ac.jp/records/16421
3e20cb22-dfe6-4c68-b4ee-c81c2afaf9cd
名前 / ファイル ライセンス アクション
IPSJ-TPRO0201008.pdf IPSJ-TPRO0201008.pdf (33.8 kB)
Copyright (c) 2009 by the Information Processing Society of Japan
オープンアクセス
Item type Trans(1)
公開日 2009-01-27
タイトル
タイトル 抽象構文木を自動生成するパーサジェネレータの効率的な実装
タイトル
言語 en
タイトル Efficient Implementation of the Parser Generator Which Generates an Abstract Syntax Tree
言語
言語 jpn
キーワード
主題Scheme Other
主題 発表概要
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_6501
資源タイプ journal article
著者所属
熊本大学大学院自然科学研究科
著者所属
熊本大学大学院自然科学研究科
著者所属
熊本大学大学院自然科学研究科
著者所属(英)
en
Graduate School of Science and Technology, Kumamoto University
著者所属(英)
en
Graduate School of Science and Technology, Kumamoto University
著者所属(英)
en
Graduate School of Science and Technology, Kumamoto University
著者名 平崎, 昌志 木山, 真人 芦原, 評

× 平崎, 昌志 木山, 真人 芦原, 評

平崎, 昌志
木山, 真人
芦原, 評

Search repository
著者名(英) Masashi, Hirasaki Masato, Kiyama Hyo, Ashihara

× Masashi, Hirasaki Masato, Kiyama Hyo, Ashihara

en Masashi, Hirasaki
Masato, Kiyama
Hyo, Ashihara

Search repository
論文抄録
内容記述タイプ Other
内容記述 抽象構文木はコンパイラにおける最適化や目的コード生成に使用される.抽象構文木の生成には,構文規則を表す具象構文とは別に抽象構文を利用する.抽象構文は抽象構文木の形式を決定する構文である.この構文は,プログラムの構造とユーザが用いる表現形式の対応関係を示す.この抽象構文を文法の構文規則内に記述し,抽象構文木を自動的に生成する手法を提案する.提案する手法は,構文規則に抽象構文としての情報を付加し木の生成に利用する.抽象構文木の生成には,一般的に解析木から変換する手法が用いられているが,本実装ではLALR構文解析の特徴を利用する.LALR構文解析では解析にトークンスタックを用いる.このとき,抽象構文に基づくノードを生成し,トークンスタックに保持することで動的に木を構成する.これにより,解析結果から木への変換を不要とし,かつ必要最小限のノードで木を構成する.構文解析中に抽象構文を読み取り,スタックの動的な処理で抽象構文木を決定する手法である.生成された木は抽象構文に従ったプログラム構造を持っており,中間表現やオブジェクトコード生成に利用できる.さらに提案手法に基づくパーサを作成し,抽象構文を利用した文法を用いて抽象構文木の生成を行う.提案する手法が,抽象構文木が最小限の情報によって効率的に生成できることを示す.
論文抄録(英)
内容記述タイプ Other
内容記述 An abstract syntax tree is used for the optimization and the purpose code generation in a compiler. An abstract syntax is used for generation of an abstract syntax tree apart from the concrete syntax showing a syntax rule. An abstract syntax is syntax of determining the form of an abstract syntax tree. This syntax shows the correspondence relation of the expressive form which the structure and the user of a program use. We describe this abstract syntax in the syntax rule of grammar, and propose the technique of generating an abstract syntax tree automatically. The technique to propose adds the information as an abstract syntax to a syntax rule, and uses it for tree generation. Although the technique generally changed from an analysis tree is used for generation of an abstract syntax tree, the feature of LALR syntax analysis is used in this implementation. A token stack is used for analysis in LALR syntax analysis. At this time, the node based on an abstract syntax is generated and a tree consists of holding to a token stack dynamically. Thereby, conversion to a tree from an analysis result is made unnecessary, and a tree consists of necessary minimum nodes. It is the technique of reading an abstract syntax during syntax analysis and determining an abstract syntax tree by dynamic processing of a stack.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AA11464814
書誌情報 情報処理学会論文誌プログラミング(PRO)

巻 2, 号 1, p. 23-23, 発行日 2009-01-27
ISSN
収録物識別子タイプ ISSN
収録物識別子 1882-7802
出版者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2025-01-22 23:52:46.803244
Show All versions

Share

Mendeley Twitter Facebook Print Addthis

Cite as

エクスポート

OAI-PMH
  • OAI-PMH JPCOAR
  • OAI-PMH DublinCore
  • OAI-PMH DDI
Other Formats
  • JSON
  • BIBTEX

Confirm


Powered by WEKO3


Powered by WEKO3