Abstract
In order to adapt different languages and platforms, the paper discusses how to process and validate IDL symbol table and intermediate code by XML API. It puts emphasis on IDL API extension towards DOM API based on the idea of combining XML with IDL compilers. At last, the IDL compiler designing framework based on XML API is given, in which compiler front end can be managed and validated by some XML techniques and tools, IDL API can be validated on the basis of test, so IDL intermediate code is provided with maintainability, portability and generation. IDL compiler can be developed and extended by XML-based API, which realizes versatility and portability of modern compiler.
Similar content being viewed by others
References
Eide E, Frei K, Ford B, et al. Flick: A Flexible, Optimizing IDL Compiler[C]//Proceedings of ACM SIGPLAN’ 97 Conference on Programming Language Design and Implementation (PLDI). Las Vegas: ACM Press, 1997: 44–56.
Mao Chunli, Liu Bixin, Zhou Bin, et al. Design and Implementation of IDL to WSDL Compiler[J]. Computer Applications, 2004, 24:116–118(Ch).
Arno P. MICO: An Open Source CORBA Implementation [J]. IEEE Software, 2004, 21(4):17–19.
Andrew W, Jens P. Modern Compiler Implementation in Java[M]. Second Edition. Cambridge: Cambridge University Press, 2002.
Kodaganallur V. Incorporating Language Processing into Java Applications: A JavaCC Tutorial[J]. IEEE Software, 2004, 21(4): 70–77.
Kitware. The GCC-XML extension. Technical Report[EB/OL]. [2006-06-11]. http://public.kitware.com/GCC XML .
W3C. W3C Document Object Model (DOM) [EBOL]. [2006-8-1]. http://www.w3.org/DOM/#what .
Thiemann P. A Type Safe DOM API[C]// Database Programming Languages-10th International Workshop, DBPL 2005. Berlin: Springer-Verlag. 2005:169–183.
Shukla R, Carrington D, Strooper P, A Passive Test Orode Using a Component 1S API Component’s[C]//Proceedings of the 12th Asia-Pacific Software Engineering Conference (APSEC’05). Taipei: IEEE Press, 2005: 561–567.
Omondo. EclipseUML [EB/OL]. [2006-12-01]. http://www.omondo.com/ .
JDOM. JDOM v1.0 API Specification[EB/OL]. [2006-12-17]. http://www.jdom.org/docs/apidocs .
Nie Nan, Xie Xiaodong, Gan Yong. A Compiler Symbol Table Generation Approach Based on XML Schema[J]. Computer Science, 2007, 34(5): 285–287(Ch).
Antoniol G, Di Penta M, Masone G, et al. XOgastan: XML-Oriented GCC AST Analysis and Transformation [C]// Proceedings of the Third International Workshop on Source Code Analysis and Manipulation (SCAM’03). Amsterdam: IEEE Computer Society Press, 2003.
Puder A, Wang L. Cross-Language Functional Testing for Middleware[C]//Testing of Communicating Systems: 17th IFIP TC6/WG 6.1 International Conference, TestCom 2005. Montreal: Springer-Verlag, 2005:56–68.
Author information
Authors and Affiliations
Corresponding author
Additional information
Foundation item: Supported by the Natural Science Foundation of Hubei Province (2005ABA266) and the Natural Science Foundation of Henan Province (0611054800)
Biography: NIE Nan(1973–), male, Ph.D. candidate, Lecturer of Zhengzhou University of Light Industry, research direction: software engineering.
Rights and permissions
About this article
Cite this article
Nie, N., Lu, Y., Zhang, S. et al. IDL compiler API design, application and validation based on XML API. Wuhan Univ. J. Nat. Sci. 13, 27–32 (2008). https://doi.org/10.1007/s11859-008-0106-4
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11859-008-0106-4