• 2024-08-28MySQL 源码|62 - 词法解析(V2):调用词法解析器的逻辑
    目录文档:MySQL源码|源码剖析文档目录源码位置(版本=MySQL8.0.37):sql/sql_class.cc;sql/sql_yacc.yy前置文档:MySQL源码|33-语法解析:bison基础语法规则MySQL源码|61-词法解析(V2):MySQL语法解析指定的返回值类型的联合体在sql/sql_yacc.yy中定义了%defineapi.pr
  • 2024-06-12Bison
    BisonTheYacc-compatibleParserGenerator10September2021,BisonVersion3.8.1byCharlesDonnellyandRichardStallman目录Bison1.1LanguagesandContext-FreeGrammars5TheBisonParserAlgorithm5.1LookaheadTokens阅读理解5.15.2Shift/ReduceConflicts5.
  • 2024-03-09编译实践学习 Part1
    本文采用CCBY协议发布。闲话开新坑辣!参考PKU的文档做的。为什么会做这个呢?之前看一位退役OIer的Blog然后发现了这个文档,想着自己退役之后也要做一个。主要是被文档最后的awesome-sysy吸引了。其实之前我在OI里也写过CYaRon!语的编译版本,所以算是有Bear来..
  • 2024-01-13Flex&Bison
    Flex与Bison《Flex与Bison》阅读笔记Flex和Bison简介第一个flex程序%{intchars=0;intwords=0;intlines=0;%}%%[^\t\n\r\f\v]+{words++;chars+=strlen(yytext);}\n{chars++;lines++;}.{chars++;}%%intmain(int
  • 2024-01-10PA0:git 相关指令+编译
    gitcheckoutxxx 切换到xxx分支   -b BB  创建新BB分支在修改完文件后,gitadd指令将修改内容推送到待上传区,gitcommit将修改上传上去。gitlog 查看log记录gitdiff 对比当前修改过的所有记录--------------makemenuconfig注意是menu,不是nemu查看报错
  • 2023-12-13UBUNTU 18.04.6 在编译linux内核的时候执行make ARCH=arm socfpga_defconfig设置默认配置时报错bison flex not found 缺少文件
    在编译linux内核的时候执行makeARCH=armsocfpga_defconfig设置默认配置时报错bisonflexnotfound缺少文件:/bin/sh:1:bison:notfound 输入命令sudoapt-getinstallbison进行安装: /bin/sh:1:flex:notfound 输入命令 sudoapt-getinstallflex进行安
  • 2023-10-19flex and bison usage in mysql
    queryparsinginmysqlmysqlsourcecodeversion:8.0.34(fromMYSQL_VERSIONfile)Thisanarticlefromquestionstounderstandings.whichfiledoesmysqlusetodefinesqlgrammar?sql/sql_yacc.yywhatisthenameyyparsereplacedwithinmysql?Sear
  • 2023-08-12linux系统安装bison,解决 These critical programs are missing or too old bison compiler
    1、编译 glibc过程中报错../configure--prefix=/opt/glibc-2.272、首先查看bison版本  bison--versionbison-V貌似就没有安装bison。3、使用yum安装bison yuminstallbison 安装成功。 4、查看版本:bison--version 居然这么简单就完成了。5、继续编译 glibc
  • 2023-08-121、编译 glibc 过程中报错 ../configure --prefix=/opt/glibc-2.27       2、首先查看bison 版本   bison --version bison
    64位安装包,查看系统位数,安装对应的mysqlLinux系统安装MySQL时,将MySQL-5.6.17-1.el6.x86_64.rpm-bundle.tar包打开,有7个rpm文件,如下:MySQL-client-5.6.17-1.el6.x86_64.rpmMySQL-devel-5.6.17-1.el6.x86_64.rpmMySQL-embedded-5.6.17-1.el6.x86_64.rpmMySQL-server-5.6.17-1.el6.
  • 2023-07-15flex and bison usage in PostgreSQL
    flex/bisonusageinpgsqlInregularbisonusage,wecallyyparse()togetanAST.So,IsearchedforyyparseinPostgreSQLsourcecode,whicheventuallyledmetothebase_yyparse()function.Whatisthat?Ingram.y:%name-prefix="base_yy"%par
  • 2023-06-15VC2010编译 thrift compiler
    VC2010编译thriftcompiler需flex,bison.bison依赖m4,regex.Pre-Buildevent中flex命令有误,-o与参数间不应该有空格。flex-o"src\\thriftl.cc"src/thriftl.llbison-y-o"src\thrifty.cc"--defines="src/thrifty.h"src/thrifty.yycompiler
  • 2023-06-03国产化麒麟linux系统QtCreator和QtCreator编译的程序无法输入中文libfcitx最新版本编译1.2.7
    1.问题描述麒麟linux系统QtCreator和QtCreator编译的程序无法输入中文,网上找了很多的libfcitxplatforminputcontextplugin.so库都无法使用正常输入;Qt版本:5.9.6麒麟系统版本:海光麒麟桌面版kylin V10 SP1  小版本号2203XC-P923P_KOS_2203_AMD_HG_3250_220630_AUDIT_ACTIVE.i
  • 2023-04-28工具适配新系统平台笔记
    适配过程中需要安装的东西(包括但不限于):yuminstall-ygcc-c++yuminstall-yboost-develyuminstall-ylibaio-devel适配过程遇到的问题:默认snappy版本较新(使用了c++11的语法),gcc编译器无法编译(指定了-std=gnu++98)解决方法:将snappy1.1.7版本的devel和lib的rpm(老版本)
  • 2023-02-10Linux 编译报错 /bin/sh: 1: flex: not found 和 /bin/sh: 1: bison: not found 解决方法
      配置内核菜单报错1、报错(1):/bin/sh:1:flex:notfound解决方案(1) sudoapt-getinstallflex2、报错(2):/bin/sh:1:bison:not
  • 2022-12-24gawk 4.0.1的源码(清减版)
    https://files.cnblogs.com/files/blogs/714801/gawk-master.7z 350KB在 GitHub-gvlx/gawk:forkedfromgit://git.savannah.gnu.org/gawk.git 下载的源码下载安装
  • 2022-10-092022-10-04 语法分析器bison说明
    ​​https://www.gnu.org/software/bison/manual/bison.html​​参考: ​​https://zhuanlan.zhihu.com/p/52326306​​​​https://zhuanlan.zhihu.com/p/120812270​​​