[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:



> and  because jave dos not have any  RTF API I have to write the printing
> side in C++ or VB
> so I'm looking for tool to convert the java classes generated by SableCC to
> c++ or
> do you have any version of SableCC can generate c++ classes or do I have to
> search for anther Compiler Compiler.

SableCC doesn't generate non-Java code. BUT, you can still use Java to
do most of your processing, but print the result using C++. You would do
this by writing your printing routines in C++ and calling them through
JNI (the Java Native Interface).

This way, you can take advantage of SableCC's typed ASTs and easy
programming, but still deliver RTF output.

Etienne