About: Lexical grammar     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatFormalLanguages, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FLexical_grammar

In computer science, a lexical grammar is a formal grammar defining the syntax of tokens. The program is written using characters that are defined by the lexical structure of the language used. The character set is equivalent to the alphabet used by any written language. The lexical grammar lays down the rules governing how a character sequence is divided up into subsequences of characters, each part of which represents an individual token. This is frequently defined in terms of regular expressions.

AttributesValues
rdf:type
rdfs:label
  • القواعد المعجمية (ar)
  • Lexical grammar (en)
rdfs:comment
  • القواعد المعجمية (lexical grammar) في علم الحاسوب، القواعد المعجمية هي القواعد الرسمية التي تحدد بناء الجملة من الرموز. يتم كتابة البرنامج باستخدام الأحرف التي يتم تعريفها من خلال بنية معجم اللغة المستخدمة. مجموعة الأحرف تعادل مجموعة الأحرف الأبجدية المستخدمة بواسطة أي لغة مكتوبة. القواعد النحوية تضع القواعد التي تحكم كيفية تقسيم متسلسلة الأحرف إلى متسلسلات جزئية كل جزء منها يمثل رمزًا فرديًا. يتم تعريف هذا من حيث التعبيرات العادية. آمثلة: التعبيرات العادية للقواعد المعجمية المشتركة تتبع (على سبيل المثال، c). معرف: *[_A-Za-z_][A-Za-z0-9] المراجع: (ar)
  • In computer science, a lexical grammar is a formal grammar defining the syntax of tokens. The program is written using characters that are defined by the lexical structure of the language used. The character set is equivalent to the alphabet used by any written language. The lexical grammar lays down the rules governing how a character sequence is divided up into subsequences of characters, each part of which represents an individual token. This is frequently defined in terms of regular expressions. (en)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
Link from a Wikipage to an external page
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • القواعد المعجمية (lexical grammar) في علم الحاسوب، القواعد المعجمية هي القواعد الرسمية التي تحدد بناء الجملة من الرموز. يتم كتابة البرنامج باستخدام الأحرف التي يتم تعريفها من خلال بنية معجم اللغة المستخدمة. مجموعة الأحرف تعادل مجموعة الأحرف الأبجدية المستخدمة بواسطة أي لغة مكتوبة. القواعد النحوية تضع القواعد التي تحكم كيفية تقسيم متسلسلة الأحرف إلى متسلسلات جزئية كل جزء منها يمثل رمزًا فرديًا. يتم تعريف هذا من حيث التعبيرات العادية. على سبيل المثال، تحدد القواعد النحوية للمفردات للعديد من لغات البرمجة أن السلسلة الحرفية تبدأ بعلامة «وتستمر حتى يتم العثور على علامة» مطابقة. أن المعرف هو تسلسل أبجدي رقمي (أحرف وأرقام، وعادة ما يسمح أيضًا بوجود شُرط سفلية، ويمنع الأرقام المبدئية). وأن الاعداد الصحيحة هي سلسلة من الأرقام. لذا في متتابعة الأحرف التالية abc" xyz1 23" الرموز هي سلسلة ومعرف ورقم بالإضافة إلى رموز المسافة البيضاء لأن المسافة البيضاء تنهي تسلسل الاحرف والأرقام والرموز التي تشكل المعرف. وعلاوة على ذلك، يتم تصنيف بعض التسلسلات ككلمات دالة - هذه عموما لها نفس شكل المعرفات (كلمات أبجدية عادةً)، ولكن يتم تصنيفها بشكل منفصل، رسميا لديهم نوع رمزي مختلف. آمثلة: التعبيرات العادية للقواعد المعجمية المشتركة تتبع (على سبيل المثال، c). معرف: *[_A-Za-z_][A-Za-z0-9] المراجع: (ar)
  • In computer science, a lexical grammar is a formal grammar defining the syntax of tokens. The program is written using characters that are defined by the lexical structure of the language used. The character set is equivalent to the alphabet used by any written language. The lexical grammar lays down the rules governing how a character sequence is divided up into subsequences of characters, each part of which represents an individual token. This is frequently defined in terms of regular expressions. For instance, the lexical grammar for many programming languages specifies that a string literal starts with a " character and continues until a matching " is found (escaping makes this more complicated), that an identifier is an alphanumeric sequence (letters and digits, usually also allowing underscores, and disallowing initial digits), and that an integer literal is a sequence of digits. So in the following character sequence "abc" xyz1 23 the tokens are string, identifier and number (plus whitespace tokens) because the space character terminates the sequence of characters forming the identifier. Further, certain sequences are categorized as keywords – these generally have the same form as identifiers (usually alphabetical words), but are categorized separately; formally they have a different token type. (en)
gold:hypernym
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is Wikipage redirect of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (61 GB total memory, 49 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software