Safe Compositional Specification of Network Systems With Polymorphic, Constrained Types

OpenBU

Show simple item record

dc.contributor.author Liu, Likai en_US
dc.contributor.author Kfoury, Assaf en_US
dc.date.accessioned 2011-10-20T05:25:03Z
dc.date.available 2011-10-20T05:25:03Z
dc.date.issued 2006-10-26 en_US
dc.identifier.uri http://hdl.handle.net/2144/1889
dc.description.abstract In the framework of iBench research project, our previous work created a domain specific language TRAFFIC [6] that facilitates specification, programming, and maintenance of distributed applications over a network. It allows safety property to be formalized in terms of types and subtyping relations. Extending upon our previous work, we add Hindley-Milner style polymorphism [8] with constraints [9] to the type system of TRAFFIC. This allows a programmer to use for-all quantifier to describe types of network components, escalating power and expressiveness of types to a new level that was not possible before with propositional subtyping relations. Furthermore, we design our type system with a pluggable constraint system, so it can adapt to different application needs while maintaining soundness. In this paper, we show the soundness of the type system, which is not syntax-directed but is easier to do typing derivation. We show that there is an equivalent syntax-directed type system, which is what a type checker program would implement to verify the safety of a network flow. This is followed by discussion on several constraint systems: polymorphism with subtyping constraints, Linear Programming, and Constraint Handling Rules (CHR) [3]. Finally, we provide some examples to illustrate workings of these constraint systems. en_US
dc.description.sponsorship National Science Foundation (CCR-0205294) en_US
dc.language.iso en_US en_US
dc.publisher Boston University Computer Science Department en_US
dc.relation.ispartofseries BUCS Technical Reports;BUCS-TR-2006-029 en_US
dc.title Safe Compositional Specification of Network Systems With Polymorphic, Constrained Types en_US
dc.type Technical Report en_US

Files in this item

This item appears in the following Collection(s)

Show simple item record

Search OpenBU


Advanced Search

Browse

Deposit Materials