I already have an interpreter for my language. It is implemented with:
Now I want to compile AST to native code and hopefully Java bytecode. I am thinking of two main options to accomplish at least one of these two tasks:
obs.: GCJ and SLEM seem to be unusable (GCJ works with simple code, as I could test)
I agree with @Oak about the choice of ByteCode as the most simple target. A possible Scala library to generate ByteCode is CafeBabe by @psuter.
You cannot do everything with it, but for small project it could be sufficient. The syntax is also very clear. Please see the project Wiki for more information.