[and: jvm-l in case of interest] Hi Per,
I've been taking a look at the gnu.expr and gnu.bytecode packages for possible use as an IR and codegen for a project to investigate compiling (a subset of) Perl 5 to JVM bytecode. I've had a quick look at the Nice language, which uses gnu.expr and gnu.bytecode for codegen (and is linked off your pages). However, after inspecting the code more closely, it seems that Daniel's actually basically taken a fork - there are quite a lot of new files (and some are missing) to support features for Nice, the public methods are different, etc. I was hoping to use a more integrated approach rather than forking - just use the released kawa jars and add a shim jar, containing any new classes I need to add to gnu.expr and friends. I had a couple of questions, if you wouldn't mind: 1) Are you aware of anyone else taking this approach? Are there any languages apart from Nice which use gnu.expr / gnu.bytecode and which are not distributed with the main Kawa tarballs? 2) There is currently some discussion about writing a (presumably XML) serializer / deserializer for gnu.expr to facilitate interop (via exchange of XML documents describing the IR of compilation units) between the gnu.expr / gnu.bytecode codegen and a front-end written in Perl by some other guys (Language::P). The idea is that a Perl-based frontend may be able to more easily handle some of Perl's ... unique character ... better than my efforts in a Java parser (and those guys also potentially want to talk to more backends than just my JVM one). Has this serialization approach been tried before? Do you think it's a sensible idea? Would you be interested in looking at the serializer / deserializer Java classes if they were written? 3) I am not an experienced compiler writer, so am finding that I am needing to make additional notes and scraps of javadoc about some of the classes and methods as I go along. Would you be interested in receiving this additional javadoc as a patch? Thanks for your time, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---
