91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.82MB
    文件類型: .7z
    金幣: 1
    下載: 0 次
    發布日期: 2023-11-05
  • 語言: 其他
  • 標簽: YACC??Windows??bison??

資源簡介

上次我傳了一個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

評論

共有 條評論