Matches in DBpedia 2014 for { <http://dbpedia.org/resource/Syntactic_predicate> ?p ?o. }
Showing items 1 to 22 of
22
with 100 items per page.
- Syntactic_predicate abstract "A syntactic predicate specifies the syntactic validity of applying a production in a formal grammar and is analogous to a semantic predicate that specifies the semantic validity of applying a production. It is a simple and effective means of dramatically improving the recognition strength of an LL parser by providing arbitrary lookahead. In their original implementation, syntactic predicates had the form “( α )?” and could only appear on the left edge of a production. The required syntactic condition α could be any valid context-free grammar fragment.More formally, a syntactic predicate is a form of production intersection, used in parser specifications or in formal grammars. In this sense, the term predicate has the meaning of a mathematical indicator function. If p1 and p2, are production rules, the language generated by both p1 and p2 is their set intersection.As typically defined or implemented, syntactic predicates implicitly order the productions so that predicated productions specified earlier have higher precedence than predicated productions specified later within the same decision. This conveys an ability to disambiguate ambiguous productions because the programmer can simply specify which production should match.Parsing expression grammars (PEGs), invented by Bryan Ford, extend these simple predicates by allowing "not predicates" and permitting a predicate to appear anywhere within a production. Morever, Ford invented packrat parsing to handle these grammars in linear time by employing memoization, at the cost of heap space.It is possible to support linear-time parsing of predicates as general as those allowed by PEGs, but reduce the memory cost associated with memoization by avoiding backtracking where some more efficient implementation of lookahead suffices. This approach is implemented by ANTLR version 3, which uses Deterministic finite automata for lookahead; this may require testing a predicate in order to choose between transitions of the DFA (called "pred-LL(*)" parsing).".
- Syntactic_predicate wikiPageExternalLink packrat.
- Syntactic_predicate wikiPageExternalLink boolean.
- Syntactic_predicate wikiPageExternalLink conjunctive.
- Syntactic_predicate wikiPageID "7400895".
- Syntactic_predicate wikiPageRevisionID "602837050".
- Syntactic_predicate hasPhotoCollection Syntactic_predicate.
- Syntactic_predicate subject Category:Formal_languages.
- Syntactic_predicate subject Category:Parsing.
- Syntactic_predicate type Abstraction100002137.
- Syntactic_predicate type Communication100033020.
- Syntactic_predicate type FormalLanguages.
- Syntactic_predicate type Language106282651.
- Syntactic_predicate comment "A syntactic predicate specifies the syntactic validity of applying a production in a formal grammar and is analogous to a semantic predicate that specifies the semantic validity of applying a production. It is a simple and effective means of dramatically improving the recognition strength of an LL parser by providing arbitrary lookahead. In their original implementation, syntactic predicates had the form “( α )?” and could only appear on the left edge of a production.".
- Syntactic_predicate label "Syntactic predicate".
- Syntactic_predicate sameAs m.0d2xbn.
- Syntactic_predicate sameAs Q7662657.
- Syntactic_predicate sameAs Q7662657.
- Syntactic_predicate sameAs Syntactic_predicate.
- Syntactic_predicate wasDerivedFrom Syntactic_predicate?oldid=602837050.
- Syntactic_predicate homepage www.antlr.org.
- Syntactic_predicate isPrimaryTopicOf Syntactic_predicate.