parser generation
Recently Published Documents


TOTAL DOCUMENTS

28
(FIVE YEARS 2)

H-INDEX

4
(FIVE YEARS 0)

2020 ◽  
Vol 23 (6) ◽  
pp. 1301-1323
Author(s):  
Oleg Konstantinovich Osipov

Analysis of various presentations for context free grammars provided with parser generators. A new description format of context free grammars is proposed. Given a representation of context free grammar in JSON format. The concept of a new parser generator based on JSON data format of describing context free grammars is presented. Described a parser generation scheme based on that concept.


2013 ◽  
Vol 28 (10) ◽  
pp. 1255-1277 ◽  
Author(s):  
Hyungyu Kim ◽  
Sowon Kim ◽  
Seungwook Lee ◽  
Euee S. Jang
Keyword(s):  

2012 ◽  
Vol 9 (3) ◽  
pp. 983-1017
Author(s):  
Daniel Rodríguez-Cerezo ◽  
Antonio Sarasa-Cabezuelo ◽  
José-Luis Sierra

This article describes structure-preserving coding patterns to code arbitrary non-circular attribute grammars as syntax-directed translation schemes for bottom-up and top-down parser generation tools. In these translation schemes, semantic actions are written in terms of a small repertory of primitive attribution operations. By providing alternative implementations for these attribution operations, it is possible to plug in different semantic evaluation strategies in a seamlessly way (e.g., a demand-driven strategy, or a data-driven one). The pattern makes possible the direct implementation of attribute grammar-based specifications with widely-used translation schemedriven tools for the development of both bottom-up (e.g. YACC, BISON, CUP) and top-down (e.g., JavaCC, ANTLR) language translators. As a consequence, initial translation schemes can be successively refined to yield final efficient implementations. Since these implementations still preserve the ability to be extended with new features described at the attribute grammar level, the advantages from the point of view of development and maintenance become apparent.


2012 ◽  
Vol 9 (2) ◽  
pp. 485-504 ◽  
Author(s):  
Antonio Sarasa-Cabezuelo ◽  
Bryan Temprado-Battad ◽  
Daniel Rodríguez-Cerezo ◽  
José-Luis Sierra

This paper describes how to use conventional compiler construction tools, and parser generators in particular, to build XML driven application generators. In our approach, the document interface is provided by a standard stream-oriented XML processing framework (e.g., SAX or StAX). This framework is used to program a generic, customizable XML scanner that transforms documents into streams of suitable tokens (opening and closing tags, character data, etc.). The next step is to characterize the syntactic structure of these streams in terms of generation-specific context-free grammars. By adding suitable semantic attributes and semantic actions to these grammars, developers obtain generation-oriented translation schemes: high-level specifications of the generation tasks. These specifications are then turned into working application generators by using standard parser generation technology. We illustrate the approach with <e-Subway>, an XML-driven generator of shortest-route search applications in subway networks.


Sign in / Sign up

Export Citation Format

Share Document