Skip to search formSkip to main contentSkip to account menu

Dangling else

Known as: Dangling else problem, If-else ambiguity, If–else ambiguity 
The dangling else is a problem in computer programming in which an optional else clause in an if–then(–else) statement results in nested conditionals… 
Wikipedia (opens in a new tab)

Papers overview

Semantic Scholar uses AI to extract papers important to this topic.
2015
2015
  • M. Lumpe
  • 2015
  • Corpus ID: 18872788
Parsing expression grammars (PEGs) have emerged as a promising substitute for context-free grammars (CFGs) and regular… 
2013
2013
PHP is a dynamic language popularly used in Web development for writing server-side code to dynamically create multiple versions… 
2013
2013
HARTIS, BRETT MICHAEL. Mapping, Monitoring and Modeling Submersed Aquatic Vegetation Species and Communities. (Under the… 
2010
2010
Parser combinators are a well-known technique for constructing recursive-descent parsers through composition of other, less… 
Highly Cited
2001
Highly Cited
2001
Laboratoire de Physique Theorique des Liquides, Universite Pierre et Marie Curie, Boite 121, 4 Place Jussieu,75252 Paris, Cedex… 
1999
1999
In this second column on getting lexer and parser generators to do what you want, we are going to look at the problem of how to… 
Review
1992
Review
1992
This paper describes an Ei el system for rapid testing of grammars Grammars are de ned in an extended BNF notation that allows… 
1973
1973
The parentheses are used to indicate an optional occurrence ; whe n followed by an asterisk, any number (zero or more) may occur… 
1966
1966
The dangling else problem consists of a class of potential ambiguities in ALGOL-like conditional statements whose basic form is… 
1963
1963
Some revisions of ALGOL 60 are proposed, which not only eliminate certain ambiguous statements but also add some convenience to…