StackOverflow Questions for Tag: ambiguous-grammar

user456584
user456584

Reputation: 88935

What is the easiest way of telling whether a BNF grammar is ambiguous or not?

Score: 12

Views: 3113

Answers: 2

Read More
TheUbMunster
TheUbMunster

Reputation: 55

How to convert a parse tree of one grammar (in CNF form) and apply it to the original, unadulterated grammar

Score: 2

Views: 60

Answers: 0

Read More
Robert Davidovic
Robert Davidovic

Reputation: 1

How to stop TextMate Grammar from matching end tokens as start tokens when they have the same pattern

Score: 0

Views: 139

Answers: 1

Read More
simanor
simanor

Reputation: 1

Generate an equivalent LL(1) language

Score: 0

Views: 171

Answers: 1

Read More
Vaibhav Chopra
Vaibhav Chopra

Reputation: 105

Show that the grammar. S->aS|aSbS|Ɛ is ambiguous and find the unambiguous grammar

Score: 0

Views: 3504

Answers: 3

Read More
Suri
Suri

Reputation: 23

How to check if this grammar is ambiguous or not?

Score: 2

Views: 17412

Answers: 2

Read More
Fulla
Fulla

Reputation: 77

Find a s-grammar (simple grammar)

Score: -2

Views: 1358

Answers: 2

Read More
Andrey
Andrey

Reputation: 6377

How to distinguish the class member from global variable with the same name in Dart?

Score: 0

Views: 37

Answers: 1

Read More
Futarimiti
Futarimiti

Reputation: 685

How to unambiguously trim a string with parser combinators?

Score: 1

Views: 126

Answers: 4

Read More
SeregASM
SeregASM

Reputation: 85

The same instance of a sub-formula in the Xtext grammar

Score: 0

Views: 36

Answers: 1

Read More
Boiethios
Boiethios

Reputation: 42849

Why does the compiler fail to find the right type?

Score: 3

Views: 155

Answers: 1

Read More
Eml0c
Eml0c

Reputation: 11

Conflict in ambiguous grammar due to ordered declaration of optional blocks

Score: 0

Views: 69

Answers: 1

Read More
Travis Parks
Travis Parks

Reputation: 8695

ANTLR4 Ambiguity parsing SQL BETWEEN followed by an AND

Score: 0

Views: 81

Answers: 1

Read More
Topi Karvonen
Topi Karvonen

Reputation: 45

Pretty printing ambiguous grammar

Score: 3

Views: 515

Answers: 2

Read More
ogr
ogr

Reputation: 3

ANTLR: Why is this grammar rule for a tuples not LL(1)?

Score: 0

Views: 159

Answers: 1

Read More
Vous
Vous

Reputation: 67

Converting to unambiguous grammar from ambiguous grammar

Score: 4

Views: 824

Answers: 1

Read More
jinscoe123
jinscoe123

Reputation: 1739

Bison reduce/reduce conflict between lambda expression and parenthesized identifier

Score: 2

Views: 843

Answers: 1

Read More

Failed Predicate Exception

Score: -1

Views: 257

Answers: 1

Read More
Bobby
Bobby

Reputation: 496

Left-factoring a grammar

Score: 4

Views: 901

Answers: 1

Read More
lili
lili

Reputation: 1

Unordered result because of an ambiguous grammar using Flex and Bison

Score: 0

Views: 60

Answers: 1

Read More
PreviousPage 1Next