help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison deterministic LALR parser for C++ (kind of complex langauge) witho


From: A D
Subject: Bison deterministic LALR parser for C++ (kind of complex langauge) without 'lexar hack' support
Date: Fri, 17 Aug 2012 11:17:13 +0530

I need to write a parser for a programming langauge which is as complex as
C++, and to even complicate the matter, there are constructs in this
langauge that doesn't allow me to use type/identifier dis-ambiguating lexer
hack. 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 it would be a wise decision
(or if it is even possoble) to use yacc/bison for my parser (given that I
may not have the flexibility to use GLR for performance reasons)...?

Regards,
Arijit


reply via email to

[Prev in Thread] Current Thread [Next in Thread]