You can go a look at BeanShell. It's a Java interpreter. It may be a bit dated, I don't know if it supports generics for example, but you should take a look at it. It probably fits what you want to do.
Are there any good libraries for interpreting java language? [closed]
-
31-03-2022 - |
문제
In lot of cases there is no need for classes to be explicitly compiled(i.e. running unit tests - I want them to be just runnable, not necessarily to be compiled & packaged).
I'm curious if there is any library for interpreting java.
Scala(static typed, runs on jvm) has interpreter built-in so in my understanding it should technically possible for java as well.
해결책
다른 팁
Take a look on beanshell (http://www.beanshell.org).
제휴하지 않습니다 StackOverflow