领域专用语言的XML处理
Processing XML for Domain Specific Languages
摘要:
XML是表示信息的标准和通用语言。XML处理由两个关键框架支持:DOM和SAX。SAX效率很高,但让开发人员对大部分处理进行编码。本文介绍了一种通过语法表达基于XML的语言的语言,可用于处理XML文档和合成任意值。该语言是声明性的,使开发人员不必了解SAX实现细节。语言被指定,一个有效的实现被定义为一个抽象的机器。
英文摘要:
XML is a standard and universal language for representing information. XML processing is supported by two key frameworks: DOM and SAX. SAX is efficient, but leaves the developer to encode much of the processing. This paper introduces a language for expressing XML-based languages via grammars that can be used to process XML documents and synthesize arbitrary values. The language is declarative and shields the developer from SAX implementation details. The language is specified and an efficient implementation is defined as an abstract machine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。