A method is presented for parsing syntactic constructs that are permitted to appear independently anywhere in a program. Some examples include comments, macros, and constructs for conditional compilation. Each such construct is defined by its own grammar and parsed by a separate coroutine. The coroutine model of parsing allows the program text to be parsed in one pass despite the syntactic inconsistencies among the program text and the additional constructs. The usefulness of the model is demonstrated by showing how a production language parsing method is extended to handle multiple syntax specifications. The implementation of conditional compilation by carrying along two parses in a coroutine manner is also given. The utility of the model ...
This article, based on Doh, Kim, and Schmidt’s “abstract parsing” technique, presents an abstract in...
p, li { white-space: pre-wrap; } The main goal of this work is to analyze the creation of the compos...
Creating a programming language is a considerable undertaking, even for relatively small domain-spec...
This paper describes how to translate the compiler directives for conditional compilation in automat...
Coroutines and events are two common abstractions for writing concurrent programs. Because coroutine...
THE COGENT (Compiler and Generalized Translator) programming system is a compiler whose input langua...
This article, based on Doh, Kim, and Schmidt’s “abstract parsing ” technique, presents an abstract i...
When writing computer programs, certain patterns arise over and over again. For example, programs mu...
This paper describes an integrated procedure mechanism that permits procedures to be used as recursi...
Parsers – programs that extract structure from strings – are fundamental components of many software...
High-level programming languages have been developed to simplify the communication problem between t...
After the introduction of context-free grammars and the use of BNF rules, compilers have been built ...
International audienceWe propose to process coordination at the parsing level as a linguistic perfor...
International audienceThe compilation of imperative synchronous languages like Esterel has been wide...
This paper defends the revival of coroutines as a general control abstraction. After proposing a new...
This article, based on Doh, Kim, and Schmidt’s “abstract parsing” technique, presents an abstract in...
p, li { white-space: pre-wrap; } The main goal of this work is to analyze the creation of the compos...
Creating a programming language is a considerable undertaking, even for relatively small domain-spec...
This paper describes how to translate the compiler directives for conditional compilation in automat...
Coroutines and events are two common abstractions for writing concurrent programs. Because coroutine...
THE COGENT (Compiler and Generalized Translator) programming system is a compiler whose input langua...
This article, based on Doh, Kim, and Schmidt’s “abstract parsing ” technique, presents an abstract i...
When writing computer programs, certain patterns arise over and over again. For example, programs mu...
This paper describes an integrated procedure mechanism that permits procedures to be used as recursi...
Parsers – programs that extract structure from strings – are fundamental components of many software...
High-level programming languages have been developed to simplify the communication problem between t...
After the introduction of context-free grammars and the use of BNF rules, compilers have been built ...
International audienceWe propose to process coordination at the parsing level as a linguistic perfor...
International audienceThe compilation of imperative synchronous languages like Esterel has been wide...
This paper defends the revival of coroutines as a general control abstraction. After proposing a new...
This article, based on Doh, Kim, and Schmidt’s “abstract parsing” technique, presents an abstract in...
p, li { white-space: pre-wrap; } The main goal of this work is to analyze the creation of the compos...
Creating a programming language is a considerable undertaking, even for relatively small domain-spec...