Well sorry for having not reacted for a over a month... I didn't get any notification mail -.-
Thanks for all the tips in getting as close as possible. To describe my problem as good as possible i tell my actual use case: I want to build a roboter in Minecraft that can be coded using Julia - restricted access for code from clients (players) is important to prevent them shutting down the server etc :D - "partial execution" of code to handle the case that the server is about to be stopped (and the game is paused) and to handle lots of code (preventing the server to stop once a client sends an infinite loop by "scheduling" julia-time/java-time) >From the 2nd point it becomes obvious that some sort of interpreter would be nice (best case an interpreter for llvm). The advantage of such an interpreter would be the possibility to "filter" the calls and thus it'd be easy to disallow ccall and such. Also you would be able to interpret the whole code directly from java. The problem is that it doesn't seem to be easy to write an interpreter for llvm without writing a full backend... (What would need a lot of code). And even then I really don't know whether julia would run on it... In case you know more about minecraft etc then you maybe also know that there is computer craft with some very similar functionality. I don't like it because a) their way of implementing "stop after a given amount of time" was (last time i checked) to insert a yield after almost any command what in my opinion isn't very beautiful... and b) (the biggest reason) is that I simply don't like LUA...