ACM Home Page
Please provide us with feedback. Feedback
Correctly detecting intrinsic type errors in typeless languages such as MATLAB
Full text PdfPdf (1.08 MB)
Source International Conference on APL archive
Proceedings of the 2001 conference on APL: an arrays odyssey table of contents
New Haven, Connecticut
Pages: 7 - 21  
Year of Publication: 2001
ISBN:1-58113-419-3
Also published in ...
Authors
Pramod G. Joisha  Technological Institute, Northwestern University, IL
Prithviraj Banerjee  Technological Institute, Northwestern University, IL
Sponsors
: NY Special Interest Group for the APL Programming Language (the NYC area APL chapter of ACM)
SIGAPL: ACM Special Interest Group on APL Programming Language
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 25,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/570407.570408
What is a DOI?

ABSTRACT

Among the main impediments that languages such as MATLAB and APL present to a compiler is the lack of an explicit declaration for a variable's type, The determination of this important attribute could allow a compiler to generate more efficient code, and is a problem that has been extensively studied in the past. This paper revisits this problem but unlike prior efforts, the objective is a uniform approach to type estimation that also accommodates type incorrect programs in a way that facilitates stronger type error detection through the exact localization of the type error at run time. We also show how our methodology makes it possible to further reduce the run-time overhead due to type conformability checking. The techniques are clearly demonstrated by applying them to deduce the intrinsic types of program variables in the MATLAB language.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
A. M. Bauer and H. J. Saal. "Does APL Really Need Run-Time Checking?". Software---Practice and Experience, 4:129-138, 1974.
 
2
P. Banerjee, U. N. Shenoy, A. Choudhary, S. Hauck, C. Bachmann, M. Chang, M. Haldar, P. G. Joisha, A. Jones, A. Kanhere, A. Nayak, S. Periyacheri, and M. Walkden. "A MATLAB Compiler for Configurable Computing Systems". Technical Report CPDC--TR--9906--013, Center for Parallel and Distributed Computing, Department of Electrical and Computer Engineering, Northwestern University, Evanston, IL 60208--3118, USA, September 1999.
 
3
 
4
 
5
 
6
 
7
 
8
P. G. Joisha, U. N. Shenoy, and P. Banerjee. ".An Approach to Array Shape Determination in MATLAB". Technical Report CPDC--TR--2000--10--010, Center for Parallel and Distributed Computing, Department of Electrical and Computer Engineering, Northwestern University, Evanston, IL 60208--3118, USA, October 2000.
9
 
10
The MathWorks, Inc., 24 Prime Park Way, Natick, MA 01760--1500, USA. MATLAB---The Language of Technical Computing, January 1997. Using MATLAB (Version 5).
 
11
The MathWorks, Inc., 3 Apple Hill Drive, Natick, MA 01760--2098, USA. Image Processing Toolbox: For Use with MATLAB, September 2000. User's Guide (Version 2).
 
12
 
13
 
14
 
15


Collaborative Colleagues:
Pramod G. Joisha: colleagues
Prithviraj Banerjee: colleagues