登录
首页 » 电子书 » flex 是一个生成扫描器的工具,能够识别文本中的词法模式。flex 读入给定的输入文件,如果没有给定文件名的话,则从标准输入读取,从而获得一个关于需要生成的扫...

flex 是一个生成扫描器的工具,能够识别文本中的词法模式。flex 读入给定的输入文件,如果没有给定文件名的话,则从标准输入读取,从而获得一个关于需要生成的扫...

于 2022-07-16 发布 文件大小:691.51 kB
0 148
下载积分: 2 下载次数: 1

代码说明:

flex 是一个生成扫描器的工具,能够识别文本中的词法模式。flex 读入给定的输入文件,如果没有给定文件名的话,则从标准输入读取,从而获得一个关于需要生成的扫描器的描述。此描述叫做 规则,由正则表达式和 C 代码对组成。flex 的输出是一个 C 代码文件――lex.yy.c――其中定义了 yylex() 函数。编译输出文件并且和 -lfl 库链接生成一个可执行文件。当运行可执行文件的时候,它分析输入文件,为每一个正则表达式寻找匹配。当发现一个匹配时,它执行与此正则表达式相关的 C 代码-flex generated scanner is a tool that can identify lexical patterns in text. flex time into the given input file, in the absence of a given file name, then read from standard input, and thus on the need to generate a description of the scanner. This description is called the rules, by the regular expression and the composition of C code. the output of flex is a C code file- lex. yy.c-- which defines the yylex () function. Output file and compile and link-lfl library to generate an executable file. When running an executable file, it analyzes the input file, for each regular expression match to find. When they find a match, it is the implementation of regular expressions with the related C code

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用Java实现的计算器代码 界面功能都很好 推荐
    用Java实现的计算器代码 界面功能都很好 推荐-With Java implementation code calculator recommend a good interface functions
    2022-02-04 03:48:40下载
    积分:1
  • MFC教程,所有使用MFC的开发人员必看的一本,是能理解掌握《MFC深入浅出》垫脚石...
    MFC教程,所有使用MFC的开发人员必看的一本书,是能理解掌握《MFC深入浅出》垫脚石-MFC Guide, all using MFC developers Watchable of a book that can understand and grasp the "MFC easy" stepping stone
    2023-08-21 15:20:04下载
    积分:1
  • 台湾两位研究人员写的关于ns2的入门使用手册,写的很好,通俗易懂。中文,看着比较亲切...
    台湾两位研究人员写的关于ns2的入门使用手册,写的很好,通俗易懂。中文,看着比较亲切-Taiwan written by two researchers on the ns2 manual entry, written by very good, user-friendly. Chinese, looked relatively cordial
    2022-12-29 20:15:02下载
    积分:1
  • 李久进的VC教程 里面有一些VC的基础知识 适合新手看
    李久进的VC教程 里面有一些VC的基础知识 适合新手看-Lee Jin-VC Guide VC inside some of the basic knowledge for newcomers to s
    2022-03-21 14:53:34下载
    积分:1
  • 计算机网络习题:数据通信,通信网络、网络技术
    计算机网络习题:数据通信,通信网络、网络技术-Network Problems
    2023-03-18 19:55:05下载
    积分:1
  • 这是一个我写的ppm的编码器的代码,其中有个计数器没写对,不过总的思路是不错的,供大家借鉴...
    这是一个我写的ppm的编码器的代码,其中有个计数器没写对,不过总的思路是不错的,供大家借鉴-this is a ppm comlier,simple,and there is a small error in it which needs to change ,if i rewrite it,i will load it again
    2022-08-02 16:26:52下载
    积分:1
  • VC专题教程
    VC专题教程 -- 第一章 Internet相关开发 打包下载 --- 1.1 如何编写CGI程序 ------ 1.2 一种更亲切的CGI开发系统WinCGI ------ 1.3 利用ISAPI开发CGI程序 ------ 1.4 利用WinInet开发Internet程序 +-- 第二章 ActiveX控件开发 打包下载 ------ 2.1 ActiveX控件介绍 ------ 2.2 利用MFC开发ActiveX控件 ------ 2.3 利用ATL(ActiveX模板库)创建ActiveX控件 ------ 2.4 调试并使用ActiveX控件 +-- 第三章 调试技术与异常(错误)处理 打包下载 ------ 3.1 跟踪与中间过程输出 ------ 3.2 变量/对象合法性检查 ------ 3.3 内存泄露检查 ------ 3.4 异常捕捉与处理 +-- 第四章 进程/线程控制 打包下载 ------ 4.1 为什么需要多进程/线程 ------ 4.2 进程控制 ------ 4.3 线程控制 ------ 4.4 进程/线程间同步 +------ 4.5 进程间通信 +-- 第五章 文件操作 打包下载 +------ 5.1 磁盘文件的打开与关闭 +------ 5.2 磁盘文件的正常读写与异步读写 +------ 5.3 磁盘文件的查找 +------ 5.4 磁盘文件的其他操作 +------ 5.5 串口的操作 +-- 第六章 内存管理 打包下载 +------ 6.1 Win32下的内存管理介绍 +------ 6.2 虚存的使用-VC Guide feature-- the first chapter related to the development of packaged Internet download how to prepare--- 1.1--- 1.2 CGI program a more cordial CGI Development System 1.3 WinCGI--- the use of CGI to develop procedures ISAPI 1.4--- Internet using WinInet development process-- the second chapter Active
    2022-08-07 06:10:36下载
    积分:1
  • 2022-01-26 06:58:50下载
    积分:1
  • TMS320VC5402
    TMS320VC5402-09-10-20-549芯片资料手册-TMS320VC5402-09-10-20-549 chip information manual
    2022-01-26 03:48:13下载
    积分:1
  • Visual C++ 5.0易学活用,很好的
    Visual C++ 5.0易学活用,很好的-Visual C 5.0 Changes make good use of good
    2022-05-17 13:39:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载