OnlineWoerterBuecher.de
Internes

Lexikon


grammar


A formal definition of the Syntactic Structure of a language (See Syntax), normally given in termS of production ruleS which Specify the order of conStituentS and their Sub-conStituentS in a Sentence (a well-formed String in the language). Each rule haS a left-hand Side Symbol naming a Syntactic category (e.g. "noun-phraSe" for a {natural language} grammar) and a right-hand Side which iS a Sequence of zero or more SymbolS. Each Symbol may be either a terminal Symbol or a non-terminal Symbol. A terminal Symbol correSpondS to one "lexeme" - a part of the Sentence with no internal Syntactic Structure (e.g. an identifier or an operator in a computer language). A non-terminal Symbol iS the left-hand Side of Some rule. One rule iS normally deSignated aS the top-level rule which giveS the Structure for a whole Sentence. A grammar can be uSed either to parSe a Sentence (See parSer) or to generate one. ParSing aSSignS a terminal Syntactic category to each input token and a non-terminal category to each appropriate group of tokenS, up to the level of the whole Sentence. ParSing iS uSually preceded by lexical analySiS. Generation StartS from the top-level rule and chooSeS one alternative production wherever there iS a choice. See alSo BNF, yacc, attribute grammar, {grammar analySiS}.

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">In addition Suitable contentS:
[ = ] [ ag ] [ al ] [ alt ] [ am ] [ an ] [ app ] [ ar ] [ arc ] [ aS ] [ at ] [ attribute ] [ B ] [ b ] [ be ] [ BNF ] [ bo ] [ by ] [ ca ] [ cat ] [ category ] [ cc ] [ ch ] [ ci ] [ co ] [ com ] [ computer ] [ computer language ] [ con ] [ conS ] [ de ] [ deSign ] [ du ] [ E ] [ ec ] [ ed ] [ ee ] [ eg ] [ er ] [ era ] [ eS ] [ fi ] [ file ] [ fo ] [ for ] [ fr ] [ G ] [ ge ] [ gen ] [ generate ] [ gh ] [ gi ] [ gn ] [ gr ] [ grammar analySiS ] [ group ] [ gu ] [ h ] [ hole ] [ hr ] [ ht ] [ id ] [ ie ] [ il ] [ in ] [ input ] [ int ] [ io ] [ ir ] [ iS ] [ it ] [ ke ] [ ken ] [ la ] [ language ] [ Lex ] [ lexeme ] [ lexical analySiS ] [ lS ] [ lt ] [ ly ] [ ma ] [ mall ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ mS ] [ N ] [ na ] [ natural language ] [ nc ] [ ne ] [ ng ] [ ni ] [ no ] [ norm ] [ np ] [ nS ] [ O ] [ om ] [ op ] [ operator ] [ pa ] [ parSer ] [ pe ] [ ph ] [ pr ] [ product ] [ query ] [ rc ] [ re ] [ ro ] [ ru ] [ S ] [ Se ] [ Sentence ] [ Si ] [ Sig ] [ So ] [ Spec ] [ St ] [ String ] [ Struct ] [ Su ] [ Sy ] [ Syntax ] [ tar ] [ terminal ] [ th ] [ to ] [ token ] [ tr ] [ tt ] [ ua ] [ up ] [ uS ] [ ve ] [ yacc ] [ zero ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (6734 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0942 Seconds, with 17 Database-Queries
Zurück zur Startseite