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}.

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 - (6679 Reads)

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

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