Selectors Make Analyzing Case-Lambda Too Hard. Meunier, P., Findler, R., Steckler, P. A., & Wand, M. In Proc. Scheme 2001 Workshop, of Technical Report: Informatique, Signaux et Systemes de Sophia-Antipolis, I3S/RT-2001-12-FR, pages 54-64, September, 2001.
Selectors Make Analyzing Case-Lambda Too Hard [ps]Paper  abstract   bibtex   
Flanagan's set-based analysis (SBA) uses selectors to choose data flowing through expressions. For example, the rng selector chooses the ranges of procedures flowing through an expression. The MrSpidey static debugger for PLT Scheme is based on Flanagan's formalism. In PLT Scheme, a case-lambda is a procedure with possibly several argument lists and clauses. When a case-lambda is applied at a particular call site, at most one clause is actually invoked, chosen by the number of actual arguments. Therefore, an analysis should propagate data only through appropriate case-lambda clauses. MrSpidey propagates data through all clauses of a case-lambda, lessening its usefulness as a static debugger. Wishing to retain Flanagan's framework, we extended it to better analyze case-lambda with rest parameters by annotating selectors with arity information. The resulting analysis gives strictly better results than MrSpidey. Unfortunately, the improved analysis is too expensive because of overheads imposed by the use of selectors. Nonetheless, a closure-analysis style SBA (CA-SBA) eliminates these overheads and can give comparable results within cubic time.
@InProceedings{MeunierEtAl:SchemeWorskhop-01,
  author = 	 {Philippe Meunier and Robby Findler and Paul
                  A. Steckler and Mitchell Wand}, 
  title = 	 {Selectors Make Analyzing Case-Lambda Too Hard},
  booktitle = 	 {Proc. Scheme 2001 Workshop},
  OPTcrossref =  {},
  OPTkey = 	 {},
  OPTeditor = 	 {Manuel Serrano},
  OPTvolume = 	 {},
  OPTnumber = 	 {},
  series =	 {Technical Report: Informatique, Signaux et Systemes de Sophia-Antipolis, I3S/RT-2001-12-FR},
  year =	 {2001},
  OPTorganization = {},
  OPTpublisher = {},
  OPTaddress = 	 {},
  month =	 sep,
  pages =	 "54-64",
  URL =		 ftpdir # {meunier-etal-01.ps},
  abstract = {Flanagan's set-based analysis (SBA) uses
                  <em>selectors</em> to choose data flowing through
                  expressions.  For example, the rng selector chooses
                  the ranges of procedures flowing through an
                  expression.  The MrSpidey static debugger for PLT
                  Scheme is based on Flanagan's formalism.  In PLT
                  Scheme, a case-lambda is a procedure with possibly
                  several argument lists and clauses.  When a
                  case-lambda is applied at a particular call site, at
                  most one clause is actually invoked, chosen by the
                  number of actual arguments.  Therefore, an analysis
                  should propagate data only through appropriate
                  case-lambda clauses.  MrSpidey propagates data
                  through all clauses of a case-lambda, lessening its
                  usefulness as a static debugger.  Wishing to retain
                  Flanagan's framework, we extended it to better
                  analyze case-lambda with rest parameters by
                  annotating selectors with arity information.  The
                  resulting analysis gives strictly better results
                  than MrSpidey.  Unfortunately, the improved analysis
                  is too expensive because of overheads imposed by the
                  use of selectors.  Nonetheless, a closure-analysis
                  style SBA (CA-SBA) eliminates these overheads and can
                  give comparable results within cubic time.},
  source =	 {papers/scheme-01},
  OPTannote = 	 {}
}

Downloads: 0