Compiling PLAN to SNAP
Title | Compiling PLAN to SNAP |
Publication Type | Book Chapters |
Year of Publication | 2001 |
Authors | Hicks MW, Moore J, Nettles S |
Editor | Marshall I, Nettles S, Wakamiya N |
Book Title | Active NetworksActive Networks |
Series Title | Lecture Notes in Computer Science |
Volume | 2207 |
Pagination | 134 - 151 |
Publisher | Springer Berlin / Heidelberg |
ISBN Number | 978-3-540-42678-3 |
Abstract | PLAN (Packet Language for Active Networks) [ 3 ] is a highly flexible and usable active packet language, whereas SNAP (Safe and Nimble Active Packets) [ 12 ] offers significant resource usage safety and achieves much higher performance compared to PLAN, but at the cost of flexibility and usability. Ideally, we would like to combine the good properties of PLAN with those of SNAP. We have achieved this end by developing a compiler that translates PLANi nto SNAP. The compiler allows us to achieve the flexibility and usability of PLAN, but with the safety and efficiency of SNAP. In this paper, we describe both languages, highlighting the features that require special compilation techniques. We then present the details of our compiler and experimental results to evaluate our compiler with respect to code size. |
URL | http://dx.doi.org/10.1007/3-540-45451-9_9 |