title: Java as a scripting language for Java?
body: <p>Is it possible to use Java as a scripting language for java? Or maybe somehow compile java scripts into java binarries at runtime? I did tried to search but couldn't find anything comprehensive except for some hacks...</p>
  
  <p>I have experience with other languages and for example for C# I used lua which was quite convenient but now I need to acheive the utmost performance as calls for scripts will be about 1.000.000 per frame.</p>
  
  <p>So I figured that adapting java itself as a scripting language for java program should provide me the best performance and compatibility.</p>
  
  <p>Any suggestions?</p>