Download Context-free grammars: Covers, normal forms, and parsing by A. Nijholt PDF

By A. Nijholt

Show description

Read or Download Context-free grammars: Covers, normal forms, and parsing PDF

Best programming languages books

Micro ISV From Vision to Reality

Micro-independent software program owners, or micro-ISVs, became either an incredible resource of functions and a pragmatic occupation replacement for IT pros. As for the latter - are you a programmer and focused on being your individual boss? the place do you switch for info? beforehand, on-line and standard literature have not stuck up with the truth of the post-dot.

Coder to developer: tools and strategies for delivering your software

Are you prepared to take the jump from programmer to informed developer? according to the belief that programmers have to take hold of a vast set of middle abilities for you to strengthen high quality software program, "From Coder to Developer" teaches you those serious floor principles. subject matters coated comprise venture making plans, resource code regulate, blunders dealing with techniques, operating with and dealing with groups, documenting the applying, constructing a construct strategy, and providing the product.

Simple Program Design: A Step-by-Step Approach, Fourth Edition

Basic software layout: A step-by-step process, now in its fourth version, has been up-to-date to maintain speed with present programming perform. this article permits readers to strengthen sound programming talents for fixing universal company difficulties. Stressing dependent programming and modular layout, pseudocode is used because the significant software layout method.

Programming Language Foundations

Stump’s Programming Language Foundations is a quick concise textual content that covers semantics, both weighting operational and denotational semantics for numerous diverse programming paradigms: significant, concurrent, and practical. Programming Language Foundations offers: a good insurance of denotational, operational an axiomatic semantics extensions to concurrent and non-deterministic types operational semantics for untyped lambda calculus sensible programming variety structures and insurance of rising themes and sleek study instructions.

Additional info for Context-free grammars: Covers, normal forms, and parsing

Example text

3. COVERS AND NORMAL FORMS: AN INTRODUCTION In this monograph, from now on, unless stated otherwise, we assume that whenever we define a cover homomorphism g = <~,~> between grammars G = (N,Z,P,S) and G' = (N',I',P',S') then E = E' and ~ is the identity homomorphism. Rence we only consider homomorphism ~. Both in Gray and Harrison [49] and in Aho and Ullman [3] results and remarks are presented on the existence and nonexistence of certain covers of grammars with grammars in some normal form. Some of these remarks are not correct.

PROPERTIES OF COVERS It is useful to put forward a few general properties of grammar covers. The most frequently used property will be the transitivity of covers, that is, if grammar G 2 covers grammar G 1 and grammar G 3 covers grammar G2, then grammar G 3 covers G I. |. Proof. If G3[f/g]G 2 and G2[g/h]G 1 then G3[f/h]G I. Trivial. For future applications we generalize the idea of transitivity. 1. Let G and G' be CFG's such that G'[f/h]G for some parse relations fG' and h G and a cover homomorphism ~.

Therefore, if we have a proper NLR grammar G, we may first eliminate the single productions (cf. 1 to obtain a grammar G' in GNF such that a faithful and external full grammar functor H : S(G') ÷ S(G) can be defined. Notice that the condition mentioned before A l g o r i t h m 5 . can also be handled functorially. For example, for the given example the functor H should satisfy H(Ha) = a, H ( A ÷ ~Ha~) = A ÷ ~a~ and H(H a + a) = id a . This can be generalized in an obvious way, and clearly, such a functor is faithful and externally full.

Download PDF sample

Rated 4.37 of 5 – based on 9 votes