[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison deterministic LALR parser for C++ (kind of complex langauge) w
From: |
A D |
Subject: |
Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support |
Date: |
Sat, 18 Aug 2012 14:32:10 +0530 |
The reason i posted it here is I was wondering if I would get anywhere with
bison/yacc based LALR(1) parsing, given the constraints that I have listed.
The other post was for a different (although related) concern.
Arijit
On Sat, Aug 18, 2012 at 12:31 AM, Hans Aberg <address@hidden> wrote:
> This is a list for help with with Bison, so you may not get any replies
> here.
>
> Your description is rather vague, and rather than describing a problem,
> you present your solution. If it is a known language, there are good
> reasons somebody else has made hacks for that.
>
> It seems that you have already told such things here:
> http://compilers.iecc.com/comparch/article/12-07-004
>
> Hans
>
>
> On 17 Aug 2012, at 20:10, A D wrote:
>
> > Thanks Hans, but I am not really looking for a C++ grammar.
> >
> > I need to write a parser for some other object oriented language, which
> is as complex as C++/Java.
> >
> > And to complicate the matter further, this langauge has special
> constructs that doesn't allow me to use the symbol table for distinguishing
> between type and non-type identifier references. In other words, I will
> have to return just one lexical token (say IDENTIFIER) from the lexer for
> both type references as well as non-type variable references.
> > Given these restrictions, I was wondering if writing a yacc/bison based
> LALR(1) parser is really an (good) option for me.
>
>
>
>
- Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, A D, 2012/08/17
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, Hans Aberg, 2012/08/17
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, A D, 2012/08/17
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, Hans Aberg, 2012/08/17
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support,
A D <=
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, Hans Aberg, 2012/08/18
- Message not available
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, Hans Aberg, 2012/08/18
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, John Levine, 2012/08/18
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, Hans Aberg, 2012/08/18