- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 292
- Dostępne formaty:
-
ePubMobi
Opis ebooka: flex & bison. Text Processing Tools
If you need to parse or process text data in Linux or Unix, this useful book explains how to use flex and bison to solve your problems quickly. flex & bison is the long-awaited sequel to the classic O'Reilly book, lex & yacc. In the nearly two decades since the original book was published, the flex and bison utilities have proven to be more reliable and more powerful than the original Unix tools.
flex & bison covers the same core functionality vital to Linux and Unix program development, along with several important new topics. You'll find revised tutorials for novices and references for advanced users, as well as an explanation of each utility's basic usage and simple, standalone applications you can create with them. With flex & bison, you'll discover the wide range of uses these flexible tools offer.
- Address syntax crunching that regular expressions tools can't handle
- Build compilers and interpreters, and handle a wide range of text processing functions
- Interpret code, configuration files, or any other structured format
- Learn key programming techniques, including abstract syntax trees and symbol tables
- Implement a full SQL grammar-with complete sample code
- Use new features such as pure (reentrant) lexers and parsers, powerful GLR parsers, and interfaces to C++
Wybrane bestsellery
-
This book shows you how to use two Unix utilities, lex andyacc, in program development. These tools help programmers build compilers and interpreters, but they also have a wider range of applications.The second edition contains completely revised tutorial sections for novice users and reference...(84.92 zł najniższa cena z 30 dni)
92.65 zł
109.00 zł(-15%) -
qmail has quietly become one of the most widely used applications on the Internet today. It's powerful enough to handle mail for systems with millions of users--Like Yahoo! Mail and Hotmail, while remaining compact and manageable enough for the smallest Unix- and Linux-based PC systems. Its compo...(101.15 zł najniższa cena z 30 dni)
109.65 zł
129.00 zł(-15%) -
Ta książka jest przeznaczona dla programistów i administratorów, którzy poszukują wydajnej metody zarządzania systemami. Pokazano w niej, w jaki sposób działa Ansible i jak należy przygotować go do pracy. Omówiono sposoby tworzenia scenariuszy (są to skrypty do zarządzania konfiguracją), zasady z...
Ansible w praktyce. Automatyzacja konfiguracji i proste instalowanie systemów. Wydanie III Ansible w praktyce. Automatyzacja konfiguracji i proste instalowanie systemów. Wydanie III
(59.40 zł najniższa cena z 30 dni)64.35 zł
99.00 zł(-35%) -
Ta książka jest unikalną relacją historyczną z początków Uniksa. Zawiera wspomnienia naocznych świadków z pierwszych lat istnienia tego systemu, jego rozwoju i stopniowego przenikania technologii uniksowych do poszczególnych dziedzin informatyki. Znajdziesz tu niewiele trudnych, naukowych i techn...(29.40 zł najniższa cena z 30 dni)
31.85 zł
49.00 zł(-35%) -
Ta książka jest przeznaczona dla osób zajmujących się automatyzacją — od żmudnych codziennych zadań po złożone wdrożenia infrastruktury jako kodu. Ten praktyczny przewodnik pozwoli na sprawne rozpoczęcie korzystania z frameworka Ansible 2.9. Na początku pokazano, jak go zainstalować i skonf...
Ansible 2 w praktyce. Automatyzacja infrastruktury, zarządzanie konfiguracją i wdrażanie aplikacji Ansible 2 w praktyce. Automatyzacja infrastruktury, zarządzanie konfiguracją i wdrażanie aplikacji
(29.90 zł najniższa cena z 30 dni)39.50 zł
79.00 zł(-50%) -
Edytor tekstowy Vim to właściwie wieloplatformowy klon edytora tekstu vi. Jego możliwości jednak są większe od vi, aktualnie więc Vim jest chętnie wybierany przez programistów pracujących w systemach uniksowych i pochodnych. W związku z tym ktoś, kto planuje karierę developera, testera, cz...
Vim. Kurs video. Zostań administratorem systemów IT Vim. Kurs video. Zostań administratorem systemów IT
(39.90 zł najniższa cena z 30 dni)71.55 zł
159.00 zł(-55%) -
Automation is essential for success in the modern DevOps world. Ansible provides a simple yet powerful automation engine to tackle complex automation challengesThis book provides you with the knowledge you need to understand how Ansible 2.7 works at a fundamental level and leverage its advanced c...
Mastering Ansible. Effectively automate configuration management and deployment challenges with Ansible 2.7 - Third Edition Mastering Ansible. Effectively automate configuration management and deployment challenges with Ansible 2.7 - Third Edition
-
This practical guide covers 70-740 exam objectives required for MCSA: Windows Server 2016 certification. Additionally, this certification guide will come in handy when preparing to take the exam 70-743: Upgrading Your Skills to MCSA: Windows Server 2016.
Installation, Storage, and Compute with Windows Server 2016: Microsoft 70-740 MCSA Exam Guide. Implement and configure storage and compute functionalities in Windows Server 2016 Installation, Storage, and Compute with Windows Server 2016: Microsoft 70-740 MCSA Exam Guide. Implement and configure storage and compute functionalities in Windows Server 2016
-
This book is intended as a study guide for anyone preparing for the (SK0-004) exam. Each chapter covers one or more of the exam objectives as standalone read. In addition, its content is such that the book will also serve as a valuable reference for entry-level network technicians and those looki...
CompTIA Server+ Certification Guide. A comprehensive, end-to-end study guide for the SK0-004 certification, along with mock exams CompTIA Server+ Certification Guide. A comprehensive, end-to-end study guide for the SK0-004 certification, along with mock exams
-
This book will guide you from container basic concepts to orchestrating containerized applications in Kubernetes. You’ll learn about the Kubernetes basic architecture, components, resources, admission control, and extensions. We’ll show you how to utilize Kubernetes services in thre...
DevOps with Kubernetes. Accelerating software delivery with container orchestrators - Second Edition DevOps with Kubernetes. Accelerating software delivery with container orchestrators - Second Edition
Ebooka "flex & bison. Text Processing Tools" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "flex & bison. Text Processing Tools" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "flex & bison. Text Processing Tools" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-493-7927-8, 9781449379278
- Data wydania ebooka:
- 2009-08-05 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.4MB
- Rozmiar pliku Mobi:
- 3.6MB
Spis treści ebooka
- flex & bison
- Preface
- Scope of This Book
- Conventions Used in This Book
- Getting Flex and Bison
- This Books Example Files
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Introducing Flex and Bison
- Lexical Analysis and Parsing
- Regular Expressions and Scanning
- Our First Flex Program
- Programs in Plain Flex
- Putting Flex and Bison Together
- The Scanner as Coroutine
- Tokens and Values
- Grammars and Parsing
- BNF Grammars
- Bisons Rule Input Language
- Compiling Flex and Bison Programs Together
- Ambiguous Grammars: Not Quite
- Adding a Few More Rules
- Flex and Bison vs. Handwritten Scanners and Parsers
- Exercises
- 2. Using Flex
- Regular Expressions
- Regular Expression Examples
- How Flex Handles Ambiguous Patterns
- Context-Dependent Tokens
- Regular Expressions
- File I/O in Flex Scanners
- Reading Several Files
- The I/O Structure of a Flex Scanner
- Input to a Flex Scanner
- Flex Scanner Output
- Start States and Nested Input Files
- Symbol Tables and a Concordance Generator
- Managing Symbol Tables
- Using a Symbol Table
- C Language Cross-Reference
- Exercises
- 3. Using Bison
- How a Bison Parser Matches Its Input
- Shift/Reduce Parsing
- What Bisons LALR(1) Parser Cannot Parse
- A Bison Parser
- Abstract Syntax Trees
- An Improved Calculator That Creates ASTs
- Literal Character Tokens
- Building the AST Calculator
- Shift/Reduce Conflicts and Operator Precedence
- When Not to Use Precedence Rules
- An Advanced Calculator
- Advanced Calculator Parser
- Calculator Statement Syntax
- Calculator Expression Syntax
- Top-Level Calculator Grammar
- Basic Parser Error Recovery
- The Advanced Calculator Lexer
- Reserved Words
- Building and Interpreting ASTs
- Evaluating Functions in the Calculator
- User-Defined Functions
- Using the Advanced Calculator
- Exercises
- 4. Parsing SQL
- A Quick Overview of SQL
- Relational Databases
- A Quick Overview of SQL
- Manipulating Relations
- Three Ways to Use SQL
- SQL to RPN
- The Lexer
- Scanning SQL Keywords
- Scanning Numbers
- Scanning Operators and Punctuation
- Scanning Functions and Names
- Comments and Miscellany
- The Parser
- The Top-Level Parsing Rules
- SQL Expressions
- Functions
- Other expressions
- Select Statements
- Select options and table references
- SELECT table references
- Delete Statement
- Insert and Replace Statements
- Replace statement
- Update Statement
- Create Database
- Create Table
- User Variables
- The Parser Routines
- The Makefile for the SQL Parser
- Exercises
- 5. A Reference for Flex Specifications
- Structure of a Flex Specification
- Definition Section
- Rules Section
- User Subroutines
- Structure of a Flex Specification
- BEGIN
- C++ Scanners
- Context Sensitivity
- Left Context
- Right Context
- Definitions (Substitutions)
- ECHO
- Input Management
- Stdio File Chaining
- Input Buffers
- Input from Strings
- File Nesting
- input()
- YY_INPUT
- Flex Library
- Interactive and Batch Scanners
- Line Numbers and yylineno
- Literal Block
- Multiple Lexers in One Program
- Combined Lexers
- Multiple Lexers
- Options When Building a Scanner
- Portability of Flex Lexers
- Porting Generated C Lexers
- Buffer sizes
- Character sets
- Porting Generated C Lexers
- Reentrant Scanners
- Extra Data for Reentrant Scanners
- Access to Reentrant Scanner Data
- Reentrant Scanners, Nested Files, and Multiple Scanners
- Using Reentrant Scanners with Bison
- Regular Expression Syntax
- Metacharacters
- REJECT
- Returning Values from yylex()
- Start States
- unput()
- yyinput() yyunput()
- yyleng
- yyless()
- yylex() and YY_DECL
- yymore()
- yyrestart()
- yy_scan_string and yy_scan_buffer
- YY_USER_ACTION
- yywrap()
- 6. A Reference for Bison Specifications
- Structure of a Bison Grammar
- Symbols
- Definition Section
- Rules Section
- User Subroutines Section
- Structure of a Bison Grammar
- Actions
- Embedded Actions
- Symbol Types for Embedded Actions
- Ambiguity and Conflicts
- Types of Conflicts
- Shift/Reduce Conflicts
- Reduce/Reduce Conflicts
- %expect
- GLR Parsers
- Bugs in Bison Programs
- Infinite Recursion
- Interchanging Precedence
- Embedded Actions
- C++ Parsers
- %code Blocks
- End Marker
- Error Token and Error Recovery
- %destructor
- Inherited Attributes ($0)
- Symbol Types for Inherited Attributes
- %initial-action
- Lexical Feedback
- Literal Block
- Literal Tokens
- Locations
- %parse-param
- Portability of Bison Parsers
- Porting Bison Grammars
- Porting Generated C Parsers
- Libraries
- Character Codes
- Precedence and Associativity Declarations
- Precedence
- Associativity
- Precedence Declarations
- Using Precedence and Associativity to Resolve Conflicts
- Typical Uses of Precedence
- Recursive Rules
- Left and Right Recursion
- Rules
- Special Characters
- %start Declaration
- Symbol Values
- Declaring Symbol Types
- Explicit Symbol Types
- Tokens
- Token Numbers
- Token Values
- %type Declaration
- %union Declaration
- Variant and Multiple Grammars
- Combined Parsers
- Multiple Parsers
- Using %name-prefix or the -p Flag
- Lexers for Multiple Parsers
- Pure Parsers
- y.output Files
- Bison Library
- main()
- yyerror()
- YYABORT
- YYACCEPT
- YYBACKUP
- yyclearin
- yydebug and YYDEBUG
- YYDEBUG
- yydebug
- yyerrok
- YYERROR
- yyerror()
- yyparse()
- YYRECOVERING()
- 7. Ambiguities and Conflicts
- The Pointer Model and Conflicts
- Kinds of Conflicts
- Parser States
- Contents of name.output
- Reduce/Reduce Conflicts
- Shift/Reduce Conflicts
- Review of Conflicts in name.output
- Common Examples of Conflicts
- Expression Grammars
- IF/THEN/ELSE
- Nested List Grammar
- How Do You Fix the Conflict?
- IF/THEN/ELSE (Shift/Reduce)
- Loop Within a Loop (Shift/Reduce)
- Expression Precedence (Shift/Reduce)
- Limited Lookahead (Shift/Reduce or Reduce/Reduce)
- Overlap of Alternatives (Reduce/Reduce)
- Summary
- Exercises
- 8. Error Reporting and Recovery
- Error Reporting
- Locations
- Adding Locations to the Parser
- Adding Locations to the Lexer
- More Sophisticated Locations with Filenames
- Error Recovery
- Bison Error Recovery
- Freeing Discarded Symbols
- Error Recovery in Interactive Parsers
- Where to Put Error Tokens
- Compiler Error Recovery
- Exercises
- 9. Advanced Flex and Bison
- Pure Scanners and Parsers
- Pure Scanners in Flex
- Pure Parsers in Bison
- Using Pure Scanners and Parsers Together
- A Reentrant Calculator
- Pure Scanners and Parsers
- GLR Parsing
- GLR Version of the SQL Parser
- C++ Parsers
- A C++ Calculator
- C++ Parser Naming
- A C++ Parser
- Interfacing a Scanner with a C++ Parser
- Should You Write Your Parser in C++ ?
- Exercises
- A. SQL Parser Grammar and Cross-Reference
- Glossary
- Index
- About the Author
- Colophon
- Copyright
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: flex & bison. Text Processing Tools John Levine (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.