glr Questions

3

I'm using Bison to generate a parser. I've got one shift/reduce conflict where I really need Bison to use GLR rather than LALR to deal with it. But I've passed the %glr-parser directive and the sou...
Menopause asked 15/12, 2011 at 21:31

2

Solved

I'm interested in the famous The syntax of C in Backus-Naur Form and studied for a while, what confuse me is that some syntax looks wrong to me but is considered right according to the BNF. For ex...
Colorable asked 22/3, 2019 at 7:20

3

Solved

I'm trying to create some kind of lint tool for the C/AL programming language. So basically I need to perform syntax and lexical analysis against the source code. I've planned to write parser from ...
Interventionist asked 1/8, 2012 at 11:51

2

Solved

I've tried several different parser generators (Bison, DParser, etc.) that claim to be able to generate GLR parsers i.e., ones that can handle ambiguous grammars. Here is a very simple ambiguous gr...
Uroscopy asked 20/2, 2014 at 2:21

4

Solved

I am writing a GLR parser generator and would like some advice on resources relating to this algorithm both on the internet and of the dead-tree variety (books for those unfamiliar with the g...
Lingam asked 25/1, 2010 at 0:22

2

Ok, so I would like to make a GLR parser generator. I know there exist such programs better than what I will probably make, but I am doing this for fun/learning so that's not important. I have bee...
Drupelet asked 19/3, 2010 at 2:47
1

© 2022 - 2024 — McMap. All rights reserved.