Next: Using Jasmin Assembler Up: Thesis Previous: Accessing the IR via   Contents


First Approach--Direct Compilation

Thanks to perl's IR and the B module, there is no need to parse Perl, find syntax errors, nor do any typical front-end compiler work to port Perl to the JVM. The current perl implementation can basically be retargeted in some way to the JVM.

The first approach sought to use these tools to directly compile from perl's IR to JVM assembler. This chapter discusses that first approach in detail, and addresses the reasons that it ultimately failed.



Subsections


Copyright © 2000, 2001 Bradley M. Kuhn.

Verbatim copying and distribution of this entire thesis is permitted in any medium, provided this notice is preserved.