资源简介
上次我传了一个flex在windows上的移植版本,这次我将lex之后的工作——语法分析生成器yacc的windows版也上传了吧。这里我并没有什么原创,就是帮助大家配置了一下实验环境,让在windows的爱好者可以继续编译原理的实验。使用前请参看其中的readme。
代码片段和文件信息
/* A Bison parser made by GNU Bison 2.4.1. */
/* Skeleton implementation for Bison‘s Yacc-like parsers in C
Copyright (C) 1984 1989 1990 2000 2001 2002 2003 2004 2005 2006
Free Software Foundation Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation either version 3 of the License or
(at your option) any later version.
This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not see . */
/* As a special exception you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice so long as that work isn‘t itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively if you modify or redistribute
the parser skeleton itself you may (at your option) remove this
special exception which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* C LALR(1) parser skeleton written by Richard Stallman by
simplifying the original so-called “semantic“ parser. */
/* All symbols defined below should begin with yy or YY to avoid
infringing on user name space. This should be done even for local
variables as they might otherwise be expanded by user macros.
There are some unavoidable exceptions within include files to
define necessary library symbols; they are noted “INFRINGES ON
USER NAME SPACE“ below. */
/* Identify Bison output. */
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION “2.4.1“
/* Skeleton name. */
#define YYSKELETON_NAME “yacc.c“
/* Pure parsers. */
#define YYPURE 0
/* Push parsers. */
#define YYPUSH 0
/* Pull parsers. */
#define YYPULL 1
/* Using locations. */
#define YYLSP_NEEDED 0
/* Copy the first part of user declarations. */
/* Line 189 of yacc.c */
#line 1 “calc.y“
#include
#include
#include
#define YYSTYPE double
/* Line 189 of yacc.c */
#line 83 “calc.tab.c“
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* Enabling the token table. */
#ifndef YYTOKEN_TABLE
相关资源
- PL2303_Prolific_DriverInstaller_v1.6.0. Wind
- redis64-latest.zip
- Windows驱动签名工具 64Signer和Driver Si
- Botan库 已经在windows下编译好的32位B
- myeclipse-10.0-offline-installer-windows.exe
- clustal omega windows 64位 安装包
- HP-InsydeFlash BIOS刷新工具For Windows v3.
- PL2303 串口 Windows 10 驱动 + 工具
- windows server 2016官方教材 742A
- Infragistics NetAdvantage for Windows Forms 20
- tomcat官方8.0.53版Windows-64位
- PM3官方windows GUI客户端软件
- apache-tomcat-8.5.23-windows-x64.zip
- Windows程序设计(第五版 经典) pdf
- Masm for Windows237381
- frp_0.29.0_windows_amd64
- Windows Azure平台概述ppt
- Windows下Lex与Yacc配置必备工具
- windows server 2003完整学习教程
- Windows内核安全编程从入门到实践(高
- UMFPACK_Windows_lib
-
海康威视视频 windows media pla
yer播放 - IIS6真正适用于Microsoft(R) Windows(
- Windows下搭建mosquitto及所需DLL文件
- GSL_windows_x64
- redis desktop manager for windows 0.9.8
- Altera Crack_Quartus II 6.0-15.1_Windows版破解
- Windows2012内网更新服务器部署
- windows安装需要的Hadoop库文件
- WindowsLoader.exe.zip
评论
共有 条评论