Solving Regular Tree Grammar Based Constraints

dc.contributor.authorLiu, Yanhong; Li, Ning; Stoller, Scott
dc.date.accessioned2025-11-11T23:37:47Z
dc.date.available2025-11-11T23:37:47Z
dc.date.issued2000-07
dc.description.abstractThis paper describes the precise specification, design, analysis, implementation, and measurements of an efficient algorithm for solving regular tree grammar based constraints. The particular constraints are for dead-code elimination on recursive data, but the method used for the algorithm design and complexity analysis is general and applies to other program analysis problems as well. The method is centered around Paige's finite differencing, i.e., computing expensive set expressions incrementally, and allows the algorithm to be derived and analyzed formally and implemented easily. We study higher-level transformations that make the derived algorithm concise and allow its complexity to be analyzed accurately. Although a rough analysis shows that the worst-case time complexity is cubic in program size, an accurate analysis shows that it is linear in the number of live program points and in other parameters that are typically smaller in practice. Our implementation ranges from two to ten times as fast as a previous implementation of an informally designed algorithm.
dc.identifier.urihttps://hdl.handle.net/2022/34382
dc.relation.ispartofseriesIndiana University Computer Science Technical Reports; TR540
dc.rightsThis work is protected by copyright unless stated otherwise.
dc.rights.uri
dc.titleSolving Regular Tree Grammar Based Constraints

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR540.pdf
Size:
453.91 KB
Format:
Adobe Portable Document Format
Can’t use the file because of accessibility barriers? Contact us