FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 azw3 极速 下载 snb txt pdf pdb 夸克云
![FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】精美图片](https://img3m6.ddimg.cn/28/3/11240241436-1_h_1.jpg)
FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】电子书下载地址
- 文件名
- [epub 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 epub格式电子书
- [azw3 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 azw3格式电子书
- [pdf 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 pdf格式电子书
- [txt 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 txt格式电子书
- [mobi 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 mobi格式电子书
- [word 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 word格式电子书
- [kindle 下载] FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】 kindle格式电子书
寄语:
代寻稀缺书老书,有问题可联系在线客服15011482491
内容简介:
如果你需要分析或处理Linux或Unix中的文本数据,这本有用的书籍就向你讲解了如何使用flex和bison迅速解决问题。《flex与bison》被期待已久,是经典O’Reilly系列书籍《lex & yacc》的续篇。在原书出版以来的近20年中,flex和bison已被证明比原来的Unix工具更可靠、更强大。
《flex与bison》一书涵盖了Linux和Unix程序开发中相同的重要核心功能,以及一些重要的新主题。你会找到适用于新手的修订教程和适用于高级用户的参考资料,以及对每个程序的基本用法的解释,并且运用它们创建简单、独立的应用程序。有了《flex与bison》,你会发现这些灵活的工具提供的广泛用途。
书籍目录:
Preface
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
Bison’s 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
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 Bison’s 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
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
Select Statements
Delete Statement
Insert and Replace Statements
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
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
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
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
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
Appendix: SQL Parser Grammar and Cross-Reference
Glossary
Index
作者介绍:
John Levine, Taughannock Networks的创始人,著有20余本技术书籍,其中包括《lex & yacc》和《qmail》,均为O’Reilly出版。
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
暂无相关书籍摘录,正在全力查找中!
在线阅读/听书/购买/PDF下载地址:
原文赏析:
calclist: /* nothing */
| calclist exp EOL { printf("= %dn", $1); }
;
SQL strings are enclosed in single quotes, using a pair of quotes to represent a single quote in the string
Bison并不分析任何的C代码,。。。
正确使用YYBACKUP()非常困难,。。。
接受不正确的输入然后把它报告为一个错误。。。
早期的错误恢复。。。再次运行程序所需要的等待时间。。。
其它内容:
书籍介绍
如果你需要分析或处理Linux或Unix中的文本数据,这本有用的书籍就向你讲解了如何使用flex和bison迅速解决问题。《flex与bison》被期待已久,是经典O’Reilly系列书籍《lex & yacc》的续篇。在原书出版以来的近20年中,flex和bison已被证明比原来的Unix工具更可靠、更强大。
《flex与bison》一书涵盖了Linux和Unix程序开发中相同的重要核心功能,以及一些重要的新主题。你会找到适用于新手的修订教程和适用于高级用户的参考资料,以及对每个程序的基本用法的解释,并且运用它们创建简单、独立的应用程序。有了《flex与bison》,你会发现这些灵活的工具提供的广泛用途。
网站评分
书籍多样性:6分
书籍信息完全性:6分
网站更新速度:3分
使用便利性:8分
书籍清晰度:3分
书籍格式兼容性:8分
是否包含广告:9分
加载速度:9分
安全性:9分
稳定性:7分
搜索功能:4分
下载便捷性:9分
下载点评
- txt(660+)
- 微信读书(332+)
- 一星好评(134+)
- 小说多(472+)
- 引人入胜(470+)
- 好评多(441+)
- 经典(334+)
- 四星好评(396+)
下载评价
- 网友 曾***玉:
直接选择epub/azw3/mobi就可以了,然后导入微信读书,体验百分百!!!
- 网友 饶***丽:
下载方式特简单,一直点就好了。
- 网友 菱***兰:
特好。有好多书
- 网友 焦***山:
不错。。。。。
- 网友 郗***兰:
网站体验不错
- 网友 利***巧:
差评。这个是收费的
- 网友 堵***格:
OK,还可以
- 网友 国***芳:
五星好评
- 网友 谢***灵:
推荐,啥格式都有
- 网友 益***琴:
好书都要花钱,如果要学习,建议买实体书;如果只是娱乐,看看这个网站,对你来说,是很好的选择。
- 网友 蓬***之:
好棒good
- 网友 汪***豪:
太棒了,我想要azw3的都有呀!!!
喜欢"FLEX 与 BISON[美]莱文(John Levine)东南大学出版社【现货实拍 可开发票 下单速发 正版图书】"的人也看了
青铜之礼 azw3 极速 下载 snb txt pdf pdb 夸克云
全新正版图书 小学生同义反义词手册-双色版 李红慧 湖南少年儿童出版社 9787535886477 青岛新华书店旗舰店 azw3 极速 下载 snb txt pdf pdb 夸克云
路易斯·康在宾夕法尼亚大学 azw3 极速 下载 snb txt pdf pdb 夸克云
和声分析谱例集.器乐 azw3 极速 下载 snb txt pdf pdb 夸克云
2019.年李正元·范培华考研数学数学复习全书.数学二 azw3 极速 下载 snb txt pdf pdb 夸克云
宁夏公务员考试历年真题教材2024宁夏公务员考用书申论行测 教材+真题共4本 azw3 极速 下载 snb txt pdf pdb 夸克云
外国人眼中的中国人:李鸿章 azw3 极速 下载 snb txt pdf pdb 夸克云
幼儿园里我最棒 azw3 极速 下载 snb txt pdf pdb 夸克云
城市规划专业英语 azw3 极速 下载 snb txt pdf pdb 夸克云
如何爱上阅读 azw3 极速 下载 snb txt pdf pdb 夸克云
- 哇+蹦 松冈达英作品蒲蒲兰图画书系列全两册绘本硬壳精装0-1-2-3-4周岁低幼儿宝宝书籍儿童启蒙认知早教书婴儿绘本图画书正版 azw3 极速 下载 snb txt pdf pdb 夸克云
- 【正版书籍】我的印度数学书 azw3 极速 下载 snb txt pdf pdb 夸克云
- 生于1968 我的清华 唐前锋【正版保证】 azw3 极速 下载 snb txt pdf pdb 夸克云
- 城乡规划相关知识历年真题与考点详解/全国注册城乡规划师考试丛书 azw3 极速 下载 snb txt pdf pdb 夸克云
- 图解小穴位大作用—健康中国2030家庭养生保健丛书 azw3 极速 下载 snb txt pdf pdb 夸克云
- 童年 快乐读书吧六年级阅读书目 世界名著儿童文学年高尔基 六年级阅读人教版语文课本经典书目人民教育出版社课外阅读 azw3 极速 下载 snb txt pdf pdb 夸克云
- 流体机械 azw3 极速 下载 snb txt pdf pdb 夸克云
- 2009最新版公共基础知识 azw3 极速 下载 snb txt pdf pdb 夸克云
- 电化学能源材料结构设计和性能调控 科学出版社 azw3 极速 下载 snb txt pdf pdb 夸克云
- 空间声原理(精)/现代声学科学与技术丛书 azw3 极速 下载 snb txt pdf pdb 夸克云
书籍真实打分
故事情节:5分
人物塑造:3分
主题深度:9分
文字风格:6分
语言运用:9分
文笔流畅:8分
思想传递:9分
知识深度:8分
知识广度:6分
实用性:9分
章节划分:4分
结构布局:3分
新颖与独特:4分
情感共鸣:7分
引人入胜:5分
现实相关:9分
沉浸感:8分
事实准确性:4分
文化贡献:4分