[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: |
Hans Aberg |
Subject: |
Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support |
Date: |
Fri, 17 Aug 2012 21:01:44 +0200 |
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 <=
- Re: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support, A D, 2012/08/18
- 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