Selectors Make Analyzing Case-Lambda Too Hard. Meunier, P., Findler, R., Steckler, P. A., & Wand, M. Higher-Order and Symbolic Computation, 18(3-4):245-269, December, 2005.
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.
@Article{ MeunierEtAl:HOSC-05,
author = {Philippe Meunier and Robby Findler and Paul
A. Steckler and Mitchell Wand},
title = {Selectors Make Analyzing Case-Lambda Too Hard},
journal = {Higher-Order and Symbolic Computation},
year = {2005},
OPTkey = {},
volume = {18},
number = {3-4},
pages = {245-269},
month = dec,
OPTnote = {},
OPTannote = {},
URL = ftpdir # {hosc-05.pdf},
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},
}
Downloads: 0
{"_id":"4dYzohMxxX9SA4nou","bibbaseid":"meunier-findler-steckler-wand-selectorsmakeanalyzingcaselambdatoohard-2005","downloads":0,"creationDate":"2017-04-23T20:31:12.610Z","title":"Selectors Make Analyzing Case-Lambda Too Hard","author_short":["Meunier, P.","Findler, R.","Steckler, P. A.","Wand, M."],"year":2005,"bibtype":"article","biburl":"http://www.ccs.neu.edu/home/wand/Bibliography.bib","bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["Philippe"],"propositions":[],"lastnames":["Meunier"],"suffixes":[]},{"firstnames":["Robby"],"propositions":[],"lastnames":["Findler"],"suffixes":[]},{"firstnames":["Paul","A."],"propositions":[],"lastnames":["Steckler"],"suffixes":[]},{"firstnames":["Mitchell"],"propositions":[],"lastnames":["Wand"],"suffixes":[]}],"title":"Selectors Make Analyzing Case-Lambda Too Hard","journal":"Higher-Order and Symbolic Computation","year":"2005","optkey":"","volume":"18","number":"3-4","pages":"245-269","month":"December","optnote":"","optannote":"","url":"ftp://ftp.ccs.neu.edu/pub/people/wand/papers/hosc-05.pdf","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","bibtex":"@Article{ MeunierEtAl:HOSC-05,\n author = \t {Philippe Meunier and Robby Findler and Paul\n A. Steckler and Mitchell Wand},\n title = \t {Selectors Make Analyzing Case-Lambda Too Hard},\n journal = \t {Higher-Order and Symbolic Computation},\n year = \t {2005},\n OPTkey = \t {},\n volume =\t {18},\n number =\t {3-4},\n pages =\t {245-269},\n month =\t dec,\n OPTnote = \t {},\n OPTannote = \t {},\n URL =\t ftpdir # {hosc-05.pdf},\n abstract = {Flanagan's set-based analysis (SBA) uses\n <em>selectors</em> to choose data flowing through\n expressions. For example, the rng selector chooses\n the ranges of procedures flowing through an\n expression. The MrSpidey static debugger for PLT\n Scheme is based on Flanagan's formalism. In PLT\n Scheme, a case-lambda is a procedure with possibly\n several argument lists and clauses. When a\n case-lambda is applied at a particular call site, at\n most one clause is actually invoked, chosen by the\n number of actual arguments. Therefore, an analysis\n should propagate data only through appropriate\n case-lambda clauses. MrSpidey propagates data\n through all clauses of a case-lambda, lessening its\n usefulness as a static debugger. Wishing to retain\n Flanagan's framework, we extended it to better\n analyze case-lambda with rest parameters by\n annotating selectors with arity information. The\n resulting analysis gives strictly better results\n than MrSpidey. Unfortunately, the improved analysis\n is too expensive because of overheads imposed by the\n use of selectors. Nonetheless, a closure-analysis\n style SBA (CA-SBA) eliminates these overheads and can\n give comparable results within cubic time.},\n source =\t {papers/scheme-01},\n}\n\n","author_short":["Meunier, P.","Findler, R.","Steckler, P. A.","Wand, M."],"key":"MeunierEtAl:HOSC-05","id":"MeunierEtAl:HOSC-05","bibbaseid":"meunier-findler-steckler-wand-selectorsmakeanalyzingcaselambdatoohard-2005","role":"author","urls":{"Paper":"ftp://ftp.ccs.neu.edu/pub/people/wand/papers/hosc-05.pdf"},"downloads":0,"html":""},"search_terms":["selectors","make","analyzing","case","lambda","hard","meunier","findler","steckler","wand"],"keywords":[],"authorIDs":[],"dataSources":["zM8mNPR4ZkAHKtvDs"]}