An Extension Mechanism for the Java Language
Michiaki Tatsubori · 1999
This thesis presents the design and implementation of an extensibledialec of the Java language,named OpenJava. Although the Java language is well polished anddedicPLL to c verapplicFUNLY of a wide range ofc,U(NLU tional domain,it stilllac ks somemec hanismsnecsms,) for typicL kinds of applic,FUSNP Our OpenJava enables programmers to extend the Java language and implementsuc hmec hanisms on demand. It is an advancU macU proco,L) based on thetec hnique cique cque,(NS)(, reflec(NS) In this thesis,first,the problems of traditional caditional, reflecio systems are pointed out; with those systems,it isdi#c++ to write meta-level programs. Thosereflec(H e systems are not suitable formac) proco,UU) whic h are non-loc-lo,LPNNL,F)+H) spreaded insourc programs,although suc hmacY proco,LPH are typic) in objec+L(,F) ted languages. Also,those reflecth e systems do not providesu#c(N t supports of using di#erent extensions together. Then this thesis proposes a newc,(Y)H(,F)H reflecH( system for OpenJav...