Kinetis+L系列 源代码

汇集 Kinetis+L系列 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

%{ {* 下面的例子改编自lex和yacc第二版 对单词计数,并可以统计多个文件 编译:lex wordcount2 wordcnt2.dpr 用法: wordcnt2 或者 wordcnt2 wordcount.l wor…

源码文件

%{ {* 下面的例子改编自lex和yacc第二版 识别简单算术表达式的lex 用法:Lex Expression4 ExpressionL4 *} unit ExpressionL4; interface uses S…

源码文件

/* Oops; slight change from wc3.l introduces backtracking */ ws [ \t] nonws [^ \t\n] word {ws}*{nonws}+ words {word}{ws}…

源码文件

/* Fastest version of wc: add rules to pick up newlines, too */ ws [ \t] nonws [^ \t\n] word {ws}*{nonws}+ words {word}{…

源码文件

/* First cut at a flex-based "wc" tool. */ ws [ \t] nonws [^ \t\n] %% int cc = 0, wc = 0, lc = 0; {nonws}+ cc += yy…

源码文件

/* Somewhat faster "wc" tool: match more text with each rule */ ws [ \t] nonws [^ \t\n] word {ws}*{nonws}+ %% int cc…

源码文件

/* Somewhat faster still: potentially match a lot of text with each rule */ ws [ \t] nonws [^ \t\n] word {ws}*{nonws}+ w…

源码文件

/* Oops; slight change from wc3.l introduces backtracking */ ws [ \t] nonws [^ \t\n] word {ws}*{nonws}+ words {word}{ws}+ %%…

源码文件

/* Fastest version of wc: add rules to pick up newlines, too */ ws [ \t] nonws [^ \t\n] word {ws}*{nonws}+ words {word}{ws}+ …

源码文件

/* First cut at a flex-based "wc" tool. */ ws [ \t] nonws [^ \t\n] %% int cc = 0, wc = 0, lc = 0; {nonws}+ cc += yyleng; ++…