Parrot动态编译及其到Java的移植  

PARROT RUNTIME COMPILATION AND ITS PORTING TO JAVA

在线阅读下载全文

作  者:戴莉莉[1] 张昱[1] 张磊[1] 

机构地区:[1]中国科学技术大学计算机科学技术系,安徽合肥230027

出  处:《计算机应用与软件》2007年第8期70-71,74,共3页Computer Applications and Software

摘  要:动态编译是Perl的主要特征之一,Perl6是Perl的下一代版本,而Parrot作为Perl6解释器的实现,提供了更强大的动态编译技术。在深入分析Parrot动态编译技术的基础上,总结其到Java移植的关键点,重点讨论了PMC的移植方法,以及用于动态编译的编译器的获得和保存、注册、运行等的移植方法。阐述了利用Java的Reflection技术访问动态装载的类的方法,从而实现动态链接编译器的移植。Runtime compilation technique is one of Perl main features. Perl6 is the next vision of Perl, and Parrot is an implementation of Perl6 interpreter and provides stronger runtime compilation technique. Based on anatomizing Parrot runtime compilation technique, the keys of porting it to Java are analyzed and the porting plan of PMC and the manipulations on the compilers for runtime compilation are emphasized on, such as getting and saving, registering, running and so on. The way to implement and access dynamic linked compiler with the help of Java Reflection technique in order to realize the porting of the compilers for runtime compilation is expained.

关 键 词:PARROT 移植 动态编译 反射 

分 类 号:TP391.72[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象