객체지향 속성 문법과 SML을 이용한 XML 컴파일러 생성기
An XML Compiler Generator using Object Oriented Attribute Grammar and SML
1
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
XML은 데이터와 문서를 표현하기 위한 표준화된 메타언어로서 점차 많은 분야에서 사용되고 있지만, 각 분야에서 XML 문서를 올바르게 처리하기 위해서는 XML 컴파일러를 작성해야 한다. XML 컴파일러를 작성하는 것은 많은 시간과 노력을 필요로 하기 때문에 XML 컴파일러를 자동적으로 생성할 수 있는 방법이 필요해진다. 논문에서는 XML 문서를 의미에 맞게 처리할 수 있는 XML 컴파일러를 자동으로 생성할 수 있는 XCC라는 XML 컴파일러 생성기를 소개한다. XCC는 XML 문서의 DTD를 입력으로 받고, XML 원소(element)들 간의 관계를 이용해서 상속과 컴포지션 관계를 갖는 자바 클래스들을 생성한다. XCC는 또한 의미 규칙을 입력으로 받아서 XML 문서를 의미에 맞게 처리하기 위한 XML 컴파일러를 생성한다. XCC는 XML 컴파일러를 자동적으로 생성함으로써 XML 문서 처리를 위한 소프트웨어 개발에서 비용을 절감시킬 수 있다.
Abstract
XML as a standard for representing data and document structure is widely used in every area, and we have to write XML compilers which process the XML documents according to a user's intention. Because it takes time and costs to write XML compilers by hand, we need some generators that automatically generate XML compilers. In this paper, we introduce an XML compiler generator named XCC. It reads DTD and semantic rules, and it generates XML compiler and Java classes which correspond to the elements defined in the DTD.
참고문헌 (9)
- Kai Koskimies, "Object-Orientation in Attribute Grammars", pp.297~545 329 (1991), Springer-Verlag
- An Feng, "SIMON:A grammar-based transformation system for structured documents In Proc. of Electronic Publishing-Origination", 6(4), pp.361~372 (1993)
- Alda Lopes Gacarski, "Using Attribute Grammars to Uniformly Represent Structured Documents-Application to Information Retrieval" (2001)
- Jos Warmer, "Processing SGML Documents", 4(1), pp.3~26 (1991)
- Giuseppe Psaila, "Adding Semantics to XML", pp.113~132 (1999), In Proc. of Attribute Grammars and their Applications
- Erich Gamma,, "Design Patterns" (1995), Addison-Wesley Pub
- Greg K. Badros, "JavaML" (2000)
- Donald E. Knuth, "Semantics of context-free languages", 2(2), pp.127~145 (1968)
- Jukka Paakki, "Attribute Grammar Paradigms-A High-level Methodology in Language Implementation", 27(2), pp.197~225 (1995)
