野牛名称天使之剑ison-man.pdfVIP

  • 0
  • 0
  • 约1.48万字
  • 约 7页
  • 2025-07-18 发布于北京
  • 举报

BISON(1)BISON(1)

NAME

bison−GNUProjectparsergenerator(yaccreplacement)

SYNOPSIS

bison[−bfile-prefix][−−file-prefixfile-prefix][−d][−−definesdefines-file][−g][

−−graphgraph-file][−k][−−token-table][−l][−−no-lines][−n][−−no-parser][−ooutfile]

[−−output-fileoutfile][−pprefix][−−name-prefixprefix][−t][−−debug][−v][−−verbose]

[−V][−−version][−y][−−yacc][−h][−−help][−−fixed-output-files]flei

yacc[similaroptionsandoperands]

DESCRIPTION

Bisonisaparsergeneratorinthestyleofyacc(1).Itshouldbeupwardlycompatiblewithinputfiles

designedforyacc.

Inputfilesshouldfollowtheyaccconventionofendingin.y.Unlikeyacc,thegeneratedfilesdonot

havefixemes,butinsteadusetheprefixoftheinputfile.Moreover,ifyouneedtoputC++codein

theinputfile,youcanendhisnamebyaC++-likeextension(.yppor.y++),thenbisonwillfollowyour

extensiontonametheoutputfile(.cppor.c++).Forinstance,agrrdescriptionfilenamed

parse.yxxwouldproducethegeneratedparserinafilenamedparse.tab.cxx,insteadofyacc’sy.tab.c

oroldBisonversion’sparse.tab.c.

ThisdescriptionoftheoptionsthatcanbegiventobisonisadaptedfromthenodeInvocationinthe

bison.texinfomanual,whichshouldakenasauthoritative.

Bisonsupportsbothtraditionalsingle-letteroptionsandmnemoniclongoptionnames.Longoption

namesareindicatedwith−−insteadof−.Abbreviationsforoptionnamesareallowedaslongasthey

areunique.Whenalongoptiontakes

文档评论(0)

1亿VIP精品文档

相关文档