ambiguous-grammar Questions

2

Solved

I'm trying to run this command: git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch filename.js' --prune-empty --tag-name-filter cat -- --all but I keep getting this error...
Archicarp asked 28/1, 2014 at 0:23

1

Solved

I'm parsing a language that doesn't have statement terminators like ;. Expressions are defined as the longest sequence of tokens, so 5-5 has to be parsed as a subtraction, not as two statements (li...
Sanyu asked 3/1, 2022 at 20:56

2

Solved

Here is a simple function with one int parameter: void f(int x) {} f(42); And here is another function with one int parameter: void g(int(x)) {} g(42); Now let us define x to be a type: ty...
Gilbreath asked 28/2, 2015 at 19:29

3

Solved

I'm looking for algorithms or data structures specifically for dealing with ambiguities. In my particular current field of interest I'm looking into ambiguous parses of natural languages, but I as...
Sannyasi asked 18/9, 2014 at 1:54

1

Solved

I checked the section of the C# language specification regarding enums, but was unable to explain the output for the following code: enum en { a = 1, b = 1, c = 1, d = 2, e = 2, f = 2, g = 3, h...
Zoometry asked 20/7, 2014 at 16:38

1

We are learning about ambiguity in class, and the following grammar was given as an example of an ambiguous grammar. I just am not seeing how it is ambiguous. Is there a set pattern or method peopl...
Chanson asked 2/3, 2013 at 15:25

3

I'm not really very clear on the concept of ambiguity in context free grammars. If anybody could help me out and explain the concept or provide a good resource I'd greatly appreciate it.
Bluebeard asked 17/5, 2011 at 18:30

2

Solved

Namely, is there a tool out there that will automatically show the full language for a given grammar, including highlighting ambiguities (if any)?
Interim asked 24/1, 2011 at 22:52
1

© 2022 - 2024 — McMap. All rights reserved.