論文

査読有り
2007年

Experience of XML-Based Source Code Representation with Parsing Actions

NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES
  • Kazuaki Maeda

161
開始ページ
330
終了ページ
339
記述言語
英語
掲載種別
研究論文(国際会議プロシーディングス)
出版者・発行元
I O S PRESS

This paper describes PALEX, a new source code representation in XML which contains parsing actions and lexical formatting information. Once a compiler finishes analyzing source code, it can record a list of parsing actions (shift. reduce and reading a token) during a compiling process. PALEX contains the recorded parsing actions and also lexical formatting information, white spaces and comments. It has two feature, as a source code representation in XML. The first is that it is independent of programming languages. The second is that the original source code can be restored from the PALEX code. For a prototype implementation, the Java compiler GCJ was modified. Syntax rules and lexical definitions are prepared for development of software tools which read the PALEX code and play back the parsing actions. An experiment was designed and the result shows that the size of the generated PALEX code is very large. However, the XML-based source code representation together with parsing actions offsets the cost of the large storage space.

リンク情報
DBLP
https://dblp.uni-trier.de/rec/conf/somet/Maeda07
Web of Science
https://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcAuth=JSTA_CEL&SrcApp=J_Gate_JST&DestLinkType=FullRecord&KeyUT=WOS:000272330700020&DestApp=WOS_CPL
URL
http://www.booksonline.iospress.nl/Content/View.aspx?piid=7274
URL
http://dblp.uni-trier.de/db/conf/somet/somet2007.html#conf/somet/Maeda07
ID情報
  • ISSN : 0922-6389
  • DBLP ID : conf/somet/Maeda07
  • Web of Science ID : WOS:000272330700020

エクスポート
BibTeX RIS