hoijui / Jawk

Java AWK interpreter/compiler
GNU General Public License v3.0
39 stars 23 forks source link

AwkScript.class in default package cannot be used from other Java class #9

Open kriegaex opened 7 years ago

kriegaex commented 7 years ago

Java cannot use default package classes from classes in other packages. This makes the solution pretty unflexible. Maybe you can add an option to specify another package for the class to be compiled and even provide a default such as org.jawk.

Meanwhile, can I somehow compile and then use a script on the fly, assuming that a compiled script executes faster than an interpreted one?

Thanks in advance and sorry for the possibly naive question, but the documentation is kinda brief.