• Title/Summary/Keyword: Syntax-Directed Editor

Search Result 9, Processing Time 0.022 seconds

An Automatic Generation Method of XML Syntax-Directed Editor (XML 구문지향 편집기의 자동 생성 방안)

  • Yoo Chae-Woo;Park Ho-Byung;Cho Yong-Yoon
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.30 no.6B
    • /
    • pp.369-376
    • /
    • 2005
  • While XML is employed in a variety of fields, editing XML document is still hard for the beginners and ordinary individuals. In this paper, we present a syntax-directed editor which is designed to provide unprofessional XML users with easy guides of using XML document. Along with the definition, abstract syntax (data structure of syntax-directed editor) would be explicitly defined. Components of the editor will be projected according to the projected definition of the abstract syntax rule of this paper. Moreover we show that the automatic generation of the abstract syntax rules coming from DTD would enhance the use of XML syntax-directed editor in faster and more precise ways. It could be easier to generate XML syntax-directed editor through a structure of abstract syntax and standard procedure of manufacturing syntax-directed editor.

Syntax-Directed Document Editor based XML DTD (XML DTD 기반의 구문지향 문서 작성기)

  • Kim, Young-Chul;Kim, Sung-Keun;Choi, Jong-Myung
    • The Journal of Korean Association of Computer Education
    • /
    • v.7 no.4
    • /
    • pp.67-75
    • /
    • 2004
  • XML is being accepted as a standard for the next generation web documents, as it enables to extend the document structures. However, general users have difficulties in writing valid and well-formed XML documents, since the documents should satisfy the grammatical constraints of XML. In this paper, we present a syntax-directed XML document editor which will ease users in writing valid XML documents. The editor will help users, and increase productivity in writing XML documents.

  • PDF

A Syntax-Directed XML Document Editor using Abstract Syntax Tree (추상구문트리를 이용한 구문지향 XML 문서 편집기)

  • Kim Young-Chul;You Do Kyu
    • Journal of Internet Computing and Services
    • /
    • v.6 no.2
    • /
    • pp.117-126
    • /
    • 2005
  • The current text based XML document systems are editing text and don't perform syntax check. As a result, the validity of an edited XML document can't be decided it is well-formed or valid until it is parsed. This paper describes a design and implementation of the syntax-directed editing system for XML documents. Because this is tree-based system, it is easy to extend XML document. And this system is designed to validate XML documents in real-time, It is expected that this paper contributes XML related application developments.

  • PDF

A Design and Implementation of the Tree-based Document Editing System for XML Application (XML 어플리케이션을 위한 트리 기반 문서 편집 시스템의 설계 및 구현)

  • Kim, Young-Chul;Kang, Chun-Kil
    • The KIPS Transactions:PartD
    • /
    • v.11D no.4
    • /
    • pp.959-966
    • /
    • 2004
  • This paper describes a design and implementation of the tree-based document editing system for XML application, available at the structure-oriented environment. This system converts DTD to ASTD( Syntax Tree Definition) to support syntax-directed editing for valid document, considers the extensibility to add new tools and supports multiple entry parser for real-time document validation. It is expected that this paper contributes related XML application document editing system development model.

An Abstract Grammar for XML Document Editing (XML 문서 편집을 위한 추상문법)

  • 신경희;최종명;유재우
    • Journal of KIISE:Software and Applications
    • /
    • v.30 no.3_4
    • /
    • pp.268-277
    • /
    • 2003
  • A document type definition(DTD) which defines tags for a document is a XML document grammar that defines syntactic structure of a document. An XML document keeps the rules and must be parsed to check validation. To parse XML document, the deterministic parsing method of programming language is irrelevant because it does not satisfy the definition of deterministic content model in element declaration. In this paper, we consider editing of a valid XML document in syntax-directed editing environment, and we suggest the internal storage representations of syntax in DTD and theirs algorithms. The consequence is that a syntactic structure of textual DTD is transformed into graph and table structures. The table structure of DTD is interpreted the context free grammar which has attribute values and is used in syntax-directed editor for XML. We called this the XML abstract grammar and showed generated results and examples.

An Automatic Generation of XML Syntax Directed Editor (XML 구문 지향 편집기의 자동 생성)

  • 박호병;조용윤;신경희;김영철;유재우
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2002.04b
    • /
    • pp.349-351
    • /
    • 2002
  • XML문서를 작성하는데 있어서 그 규칙이나 DTD에 익숙하지 않은 개발자에게 구문 지향 편집기는 효율적인 환경을 제공해 준다. 이러한 구문 지향 편집기를 생성하는 도구로서 Synthesizer Generator등이 잘 알려져 있는데, 사용자는 Synthesizer Generator를 위해 구문 지향 편집기 생성 정보 표현 언어인 SSL(Syntheizer Specification Language)을 직접 작성해야 한다. 본 연구는 웹 문서 표준인 XML 구문 지향 편집기를 자동 생성하기 위한 방법을 제안한다. 제안된 방법은 입력된 XML DTD를 AST 형태로 변경하여DAG(Directed Acyclic Graph)를 추출하는 DAG 변환기, 생성된 DAG를 SSL로 변환하기 위한 DAG 핸들러와 SSL 변환기 모듈 그리고 변환된 SSL을 이용해 XML 구문 지향 편집기를 자동 생성하기 위한 Synthesizer Generator 사창을 포함한다. SSL 변환기는 SSL문서를 자동 생성하기 위한 모듈로서 추상 구문변환 모듈 역 파싱(Unparsing scheme)모듈 변형 규칙(Transformation rule) 표현 모듈로 구성된다. 사용자는 SSL변환기와 Synthesizer Generator의 사용을 통해 SSL을 직접 코딩해야 하는 노력과 불필요한 학습시간을 줄이고 빠르고 정확한 XML 구문 지향 편집기를 생성하므로 효율적인 XML 문서 작성할 수 있다.

  • PDF

Dynamic Syntax-Directed SGML Document Editor (동적 구문지향 SGML 문서편집기)

  • 강춘길;신경희;유재우
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2000.04a
    • /
    • pp.71-73
    • /
    • 2000
  • 본 논문에서 다루는 SGML 문서편집기는 파서를 내포하는 구조로서, 문서편집을 위하여 DTD 가 입력되고, 입력된 DTD 는 DTD 파서에 의해 적합성을 점검하게 된다. DTD 파서는 표준규칙에 따라 DTD를 파싱하고, 결과를 편집처리에 적합한 BNF-스타일 형태로 변환된 문법 테이블을 생성한다. SGML 문서 편집은 문법테이블 정보에 따라 처리된다. 문법 테이블의 크기는 엘리먼트 선언내용 중 컨텐트 모델의 표현에 따라 결정된다. 그 중 and(&) 접속자는 엘리먼트 개수에 따라 문법수가 기하급수적으로 증가하므로 DTD 파서에 의해 처리된다면 속도나 비용면에서 비효율적이다. 이에 본 논문에서는 고정된 문법테이블을 이용하는 SGML 편집기에 and 접속자로 표현된 엘리먼트 문법을 동적으로 확정 처리할 수 있는 기능이 추가 향상된 구문지향적 SGML 문서편집기를 제시한다. 그러므로 향상된 구문지향 SGML 문서편집기는 고정된 문법을 이용한 문서편집 뿐 아니라 편집처리에 따른 변환에 능동적으로 처리할 수 있다는 특징을 갖게된다.

  • PDF

Design and Implementation of a syntax-directed graphic editor for XTM (XTM을 위한 구문지향 그래픽 편집기의 설계와 구현)

  • Park Young-Jo;Park Ho-Byung;Cho Yong-Yoon;Yoo Chae-Woo
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2004.11a
    • /
    • pp.967-970
    • /
    • 2004
  • 웹에는 많은 자원들과 정보들이 존재한다. XTM은 Topic, Association, Occurrence등의 태그를 활용하여 웹상의 자원들과 정보를 정의한다. XTM을 구성하는 태그는 간단한 반면에 자원과 정보를 표현하기 위해서 많은 수의 태그가 사용된다. 사용되는 태그 구조의 복잡성 때문에 사용자가 손쉽게 태그를 정의하고 사용할 수 있는 편집기가 필요하다. 본 논문은 XTM의 편집을 용이하게 하기 위해 문법에 올바른 그래픽 요소들로 표현하는 구문지향 그래픽 편집기를 설계하고 구현한다. 사용자가 XTM의 문법을 알지 못하거나 미숙한 경우에 XTM 문법상의 오류를 가진 문서를 생성할 수 있다. 이러한 문법상의 오류에 대해서 본 논문에서 제안한 편집기는 구문상의 올바른 요소를 편집 후보 집합으로 사용자에게 제시하고, 사용자는 제시하는 편집 후보 집합 중에서 올바른 요소 항목을 선택하여 편집을 수행할 수 있다. 또한, XTM의 복잡한 구조를 그래픽 형태로 표현하고 사용자는 표현된 그래픽 구조에서 편집한다. 따라서, 사용자는 텍스트기반의 편집기에 비해서 손쉽게 전체 구조를 파악할 수 있으며 편리하고 정확하게 XTM 문서를 생성할 수 있다.

  • PDF

Implementation of a Scenario Editing and Practicing System Based on XML (XML 기반 대본 작성 및 연습 시스템 구현)

  • Kim, Shin-Woo;Shin, Ki-Ho;Park, Sung-Eun;Lee, Yong-Kyu
    • The KIPS Transactions:PartD
    • /
    • v.10D no.3
    • /
    • pp.513-520
    • /
    • 2003
  • In order to represent a play script using XML, a DTD has been defined and used on the web. However, it is not easy to make XML scripts using text editors for a writer who is not familiar with XML. Moreover, editors do not help actor/actresses use XML scripts for practicing plays. In this research, we develop a syntax-directed XML editor designed for writing XML scripts easily. Also, we implement a system that help actor/actresses practice plays together with multi-clients. Play events are synchronized by a time server synchronizing clocks of participants. We have evaluated the performance of various event implementation techniques through experiments and have used an appropriate technique for synchronizing play events. By using the system, a play writer can easily make an XML script and actor/actresses practice the play using the script.