On 2014-07-21 11:35, Mike wrote:
Well, I've never written any Java code before, and I'm not looking forward to learning yet another language. Is it possible to utilize the java parser from D?
In theory it should be possible to access via JNI (Java Native Interface), but that's very cumbersome and it would be easier to write the tool in Java, or any other language that runs on the JVM (Scala, Ruby and so on).
I'm thinking I should probably just get the 64-bit port done for now, but if you can think of a way to write the porting utility in D I'll consider giving it a try.
Possibly if there's a parser wirtten in C. But I'm not sure if a parser is enough, I think a full front end is needed, including the semantic analyzer.
-- /Jacob Carlborg