|
Showing 1 - 3 of
3 matches in All Departments
This classroom-tested and clearly-written textbook presents a
focused guide to the conceptual foundations of compilation,
explaining the fundamental principles and algorithms used for
defining the syntax of languages, and for implementing simple
translators. This significantly updated and expanded third edition
has been enhanced with additional coverage of regular expressions,
visibly pushdown languages, bottom-up and top-down deterministic
parsing algorithms, and new grammar models. Topics and features:
describes the principles and methods used in designing
syntax-directed applications such as parsing and regular expression
matching; covers translations, semantic functions (attribute
grammars), and static program analysis by data flow equations;
introduces an efficient method for string matching and parsing
suitable for ambiguous regular expressions (NEW); presents a focus
on extended BNF grammars with their general parser and with LR(1)
and LL(1) parsers (NEW); introduces a parallel parsing algorithm
that exploits multiple processing threads to speed up syntax
analysis of large files; discusses recent formal models of
input-driven automata and languages (NEW); includes extensive use
of theoretical models of automata, transducers and formal grammars,
and describes all algorithms in pseudocode; contains numerous
illustrative examples, and supplies a large set of exercises with
solutions at an associated website. Advanced undergraduate and
graduate students of computer science will find this
reader-friendly textbook to be an invaluable guide to the essential
concepts of syntax-directed compilation. The fundamental paradigms
of language structures are elegantly explained in terms of the
underlying theory, without requiring the use of software tools or
knowledge of implementation, and through algorithms simple enough
to be practiced by paper and pencil.
This revised and expanded new edition elucidates the elegance and
simplicity of the fundamental theory underlying formal languages
and compilation. Retaining the reader-friendly style of the 1st
edition, this versatile textbook describes the essential principles
and methods used for defining the syntax of artificial languages,
and for designing efficient parsing algorithms and syntax-directed
translators with semantic attributes. Features: presents a novel
conceptual approach to parsing algorithms that applies to extended
BNF grammars, together with a parallel parsing algorithm (NEW);
supplies supplementary teaching tools at an associated website;
systematically discusses ambiguous forms, allowing readers to avoid
pitfalls; describes all algorithms in pseudocode; makes extensive
usage of theoretical models of automata, transducers and formal
grammars; includes concise coverage of algorithms for processing
regular expressions and finite automata; introduces static program
analysis based on flow equations.
State of books on compilers The book collects and condenses the
experience of years of teaching compiler courses and doing research
on formal language theory, on compiler and l- guage design, and to
a lesser extent on natural language processing. In the turmoil of
information technology developments, the subject of the book has
kept the same fundamental principles over half a century, and its
relevance for theory and practice is as important as in the early
days. This state of a?airs of a topic, which is central to computer
science and is based on consolidated principles, might lead us to
believe that the acc- panying textbooks are by now consolidated,
much as the classical books on mathematics. In fact this is rather
not true: there exist ?ne books on the mathematical aspects of
language and automata theory, but the best books on translators are
sort of encyclopaedias of algorithms, design methods, and practical
know-how used in compiler design. Indeed a compiler is a mic- cosm,
featuring avarietyofaspectsrangingfromalgorithmicwisdomto CPU
andmemoryexploitation.Asaconsequencethetextbookshavegrowninsize,
and compete with respect to their coverage of the last developments
on p- gramming languages, processor architectures and clever
mappings from the former to the latter
|
|