DOCUMENT GENERATION DEVICE, GENERATION METHOD FOR DOCUMENT, AND PROGRAM

PROBLEM TO BE SOLVED: To generate a target language program with high readability under the consideration of maintainability by outputting an other language program obtained by converting an assembler program and comments in association.SOLUTION: A document generation device 1 includes: a comment so...

Full description

Saved in:
Bibliographic Details
Main Authors ISHIURA NAGISA, OGAWARA TAKASHI
Format Patent
LanguageEnglish
Japanese
Published 30.03.2017
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:PROBLEM TO BE SOLVED: To generate a target language program with high readability under the consideration of maintainability by outputting an other language program obtained by converting an assembler program and comments in association.SOLUTION: A document generation device 1 includes: a comment source information storage part 114 for storing comment source information in association with one or more conversion information as information for converting an assembler program into an other language program; a conversion part 122 for converting one or more respective original source components as a partial program constituting an original source of assembler language into an other language program by using the conversion information associated with the respective original source components, and for acquiring target source components as the other language program for each of one or more respective conversion targets; a comment acquisition part 123 for acquiring comments by using comment source information associated with the conversion information; and an output part 13 for outputting one or more respective source components in association with the comments associated with the respective target source components.SELECTED DRAWING: Figure 1 【課題】アセンブラプログラムを変換した他言語のプログラムとコメントとを対応付けて出力することにより、保守性を考慮した、可読性の高い目的言語のプログラムを生成可能とする。【解決手段】ドキュメント生成装置1は、アセンブラプログラムを他言語プログラムに変換するための情報である1以上の変換情報に対応付けて、コメントの元になる情報を格納するコメント元情報格納部114と、アセンブラ言語の原ソースを構成する一部のプログラムである1以上の各原ソース部品を、各原ソース部品に対応する変換情報を用いて、他言語プログラムに変換し、1以上の各変換対象ごとに、他言語プログラムである目的ソース部品を取得する変換部122と、変換情報に対応するコメント元情報を用いてコメントを取得するコメント取得部123と、1以上の各目的ソース部品と、各目的ソース部品に対応するコメントとを対応付けて出力する出力部13とを具備する。【選択図】図1
Bibliography:Application Number: JP20150188841