ACM Home Page
Please provide us with feedback. Feedback
Calculating sized types
Full text PdfPdf (2.00 MB)
Source ACM/SIGPLAN Workshop Partial Evaluation and Semantics-Based Program Manipulation archive
Proceedings of the 2000 ACM SIGPLAN workshop on Partial evaluation and semantics-based program manipulation table of contents
Boston, Massachusetts, United States
Pages: 62 - 72  
Year of Publication: 2000
ISBN:1-58113-201-8
Also published in ...
Authors
Wei-Ngan Chin  School of Computing, National University of Singapore
Siau-Cheng Khoo  School of Computing, National University of Singapore
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 26,   Citation Count: 13
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/328690.328893
What is a DOI?

ABSTRACT

Many program optimisations and analyses, such as array-bound checking, termination analysis, etc, depend on knowing the size of a function's input and output. However, size information can be difficult to compute. Firstly, accurate size computation requires detecting size relation between different inputs of a function. Secondly, different optimisations and analyses may require slightly different size information, and thus slightly different computation. Literature in size computation has mainly concentrated on size checking, instead of inferencing. In this paper, we provide a generic framework on which different size variants can be expressed and computed. We also describe an effective algorithm for inferring, instead of checking, size information. Size information are expressed in terms of Presburger formulae, and our algorithm utilises the Omega Calculator to compute as exact a size information as possible, within the linear arithmetic capability.


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
2
3
 
4
W.N. Chin and S.C. Khoo. Calculating sized types. In Technical Report, DISCS, NUS, December 1999.
5
 
6
D. De Schreye and S Decorte. Termination of logic programs: The never-ending story.Journal of Logic Programming, 19/20:199-260, 1994.
 
7
 
8
9
 
10
P. Kelly, V. Maslov, W. Pugh, E. Rosser, T. Shpeisman, and D. Wonnacott. The omega library version 1.1.0 interface guide. Technical report, University of Maryland, College Park, November 1996. http : //www. cs. umd. edu/pro j ects/omega.
 
11
 
12
13
14
 
15
16
17
18

CITED BY  13
 
 
 

Collaborative Colleagues:
Wei-Ngan Chin: colleagues
Siau-Cheng Khoo: colleagues

Peer to Peer - Readers of this Article have also read: