Web services for parsing source code by two-step parsing

  • Authors:
  • Kazuaki Maeda

  • Affiliations:
  • Chubu University, Kasugai, Aichi, Japan

  • Venue:
  • SEA '07 Proceedings of the 11th IASTED International Conference on Software Engineering and Applications
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes Web services for extracting parsing functionality from a compiler and its application to the development of language sensitive tools by two-step parsing. The specifications of modern popular programming languages are very complex. It is a time-consuming task to develop a parser of commercial product quality from a language specification. Web services for parsing were developed in order to prevent reinvention of the parsers. A server receives source code using the Web services API. After the server analyzes the source code, it sends back an XML document as a result. So far it has been tested that the Web services is applicable to three programming languages, Java, C# and Ruby. To check the performance, an experiment was conducted. The result of the experiment shows that the XML document offsets the cost of the large storage space. However, the productivity improvement is far superior to the penalty.